PDA

View Full Version : Assistance with creating subwindows



Biospark
January 14th, 2009, 18:26
So, I'm one step away from completing my ruleset, however I'm having trouble adding..defining the subwindows..I'm not completely sure how to do it. Basically, I can get the link to the subwindow working(Or atleast I believe it's working), but everytime it gives me an error, stating that the subwindow isn't defined.

Foen
January 15th, 2009, 06:24
Accessing subwindows from script is tricky, because they are not initialised when you wold expect, and you have to use the onInstanceCreated event.

If your problem is purely about the xml, perhaps you could share a few extracts of the various windowclass/subwindow definitions?

Welcome to the forums, and kudos for jumping straight in at the deep end to create your own ruleset :)

Foen