Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-20-2008, 03:14 AM
Knight Knight is offline
Banned
Join Date: Sep 2007
Location: United States
Posts: 230
Knight will become famous soon enough
Send a message via MSN to Knight
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
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:03 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.