Thread: parent delay?
View Single Post
  #4  
Old 01-31-2007, 09:26 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
I was going to say that...

Using new does not define the parent until after the new is finished. It is better to do the addcontrol() inside the new before you call the parent or to just use onResize() functions for defining child positions (You could make a chain reaction from the GUIControl all the way down to the position of a radio button or something and then call the function at the end of your GUI Creation script so everything get positioned)
__________________
Do it with a DON!
Reply With Quote