
07-20-2008, 03:14 AM
|
Banned
|
Join Date: Sep 2007
Location: United States
Posts: 230
|
|
Dynamic GUI names
When you create a GUI that has a dynamic name, i.e "Test_Window1_"@acct how can you call the GUI objects back as objects? For example, if you create a GuiMLTextCtrl named "MultiLine1_"@acct how can you call back the text contained in the object? Calling "MultiLine1_"@acct.text doesn't work, or at least hasn't for me, so I figure that's incorrect syntax. I've also tried calling (MultiLine1_@""@acct).text, or similar, which also appears to be incorrect syntax.
Does anyone know how this can be done?
Also a second question, when a GUI is created is it indexed in any way so that I can tell which object to call back? Because if I have multiple dynamic GUIs, it might be difficult to find which GUI to call the information for without some sort of index or similar feature to find the name of the currently selected GUI.
Thanks for the help =)
- Knight |
|
|