Quantcast component Access/Tip List - WoWInterface
Thread Tools Display Modes
08-12-06, 06:01 AM   #1
A Murloc Raider
Join Date: Aug 2006
Posts: 6
component Access/Tip List

I'm rather new to the xml so i'm creating a list of ways to access components to help me and others.

--Returns (1 | nul) (checked | unchecked)
local TextThenData = (getglobal("Test5Form".."CheckButton1")):GetChecked();

--This Get's the Text from a Edit box
local editboxtext = (getglobal("Test5Form".."MultilineEditBox1".."Edit")):GetText();

--This addes Text to the frame
Originally Posted by Nulkris
The UI naming system substitutes $parent with the name of the parent object. So to access the actual FontString object within the Label, you can do:

If the name of the Label is $parentLabel, and your form name is TestForm you would access it by:
local fs = getglobal("TestForm".."Label".."Label")
where the names are separated to clarify the splits.

If you just called your Label TitleText, then the code is:
local fs = getglobal("TitleText".."Label");

I'll add more as i learn/find out Please post any others if feel they are helpful

Last edited by neostorm : 08-14-06 at 12:58 AM.
  Reply With Quote
09-09-07, 12:22 AM   #2
A Kobold Labourer
Join Date: Sep 2007
Posts: 1
how would you set the text of a label?
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » component Access/Tip List

Thread Tools
Display Modes

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

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