Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/11/2013 in all areas

  1. There are at least three spam posts in the Lava blog but normal users don't seem to have the right to report them. So I'm doing it here.
    1 point
  2. Slight restructure worked. I had some weird linkage because of some static vi references. Database class was clean. So my main GUI class is passed to all main screen guis as data from screens is sometimes shared (they are plugin screens for a sub panel). I could of done it diff but that is what I ended up with. Anyway, the GUI screen vis were part of the main GUI class because they use the main GUI class. For each screen I have another class containing the control refs for that GUI. In the init function for the screen class I had a static ref for that screens gui (which was part of the main GUI class). Throw in the fact that the screen guis have the xcontrol on them and the screen classes have the ref, properties,and methods you end up with a bad situation. Like a two day crash fest. So I removed the guis from the main class (don't know if it was required..), and got rid of the static refs from the screen init methods (this was probably the root cause). So now that the main and screen classes don't call each other everything seems to be OK. I left the refs as the xcontrol type (not containing data type) and I don't think I'll change it back as everything is working. Thanks for the inputs. Def will remember the delete ref trick.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.