Difference between revisions of "LavishGUI:UIElement (Top-Level Object)"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
== Forms ==
 
== Forms ==
 
*[[LavishGUI:lguielement (Data Type)|lguielement]] '''UIElement['''element [[LavishGUI:Elements#Notes_on_Element_Names|Fully-Qualified Name]]''']'''
 
*[[LavishGUI:lguielement (Data Type)|lguielement]] '''UIElement['''element [[LavishGUI:Elements#Notes_on_Element_Names|Fully-Qualified Name]]''']'''
: Retrieves a UI element.  The object given will actually be of the data type associated with the UI element type if possible.  If not, it will be an isuielement type.
+
: Retrieves a UI element.  The object given will actually be of the data type associated with the UI element type if possible.  If not, it will be an lguielement type.
 
*[[LavishGUI:lguielement (Data Type)|lguielement]] '''UIElement['''#''']'''
 
*[[LavishGUI:lguielement (Data Type)|lguielement]] '''UIElement['''#''']'''
 
: Retrieves any UI element by ID number.  The object given will actually be of the data type associated with the UI element type if possible.  If not, it will be an lguielement type.
 
: Retrieves any UI element by ID number.  The object given will actually be of the data type associated with the UI element type if possible.  If not, it will be an lguielement type.
  
 
== Examples ==
 
== Examples ==
 +
echo Element #: ${UIElement[fps@main hud].ID}
 +
 
See [[LavishGUI:lguielement (Data Type)#Examples|lguielement examples]]
 
See [[LavishGUI:lguielement (Data Type)#Examples|lguielement examples]]
 
== See Also ==
 
== See Also ==

Latest revision as of 21:38, 10 October 2006

Forms

Retrieves a UI element. The object given will actually be of the data type associated with the UI element type if possible. If not, it will be an lguielement type.
Retrieves any UI element by ID number. The object given will actually be of the data type associated with the UI element type if possible. If not, it will be an lguielement type.

Examples

echo Element #: ${UIElement[fps@main hud].ID}

See lguielement examples

See Also