View Single Post
  #4  
Old 01-21-2010, 06:02 AM
Grey Grey is offline
Classic Developer
Grey's Avatar
Join Date: Mar 2007
Location: Wales, UK
Posts: 134
Grey will become famous soon enough
Send a message via AIM to Grey
D'oh, thanks both

I'd made a mistake with my looping so it wasn't calling correctly.

Quote:
Originally Posted by DustyPorViva View Post
However, you'd much rather use catchevent with such dynamically named objects, since otherewise you'd have to account for each var, and subsequent name.
I think running through all of the controls is the only way given what I'm doing. New Gui Controls are generated for each item in a list, and when a new list is referenced the old Controls are being removed from the GUI.

Though I'm also thinking now it'd be faster / better to just replace Controls where applicable rather than destroying / recreating.
Reply With Quote