Difference between revisions of "LavishGUI:lguilistboxitem (Data Type)"

From Lavish Software Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
== Description ==
 
== Description ==
This data type provides and controls data for ISUI listboxitems.  
+
This data type provides and controls data for [[LavishGUI:listbox_%28Element_Type%29|listbox (Element Type)]].  
 
== Members ==
 
== Members ==
 
* [[DataType:int|int]] '''TextColor''' : color of the text on the listbox item
 
* [[DataType:int|int]] '''TextColor''' : color of the text on the listbox item
 
* [[DataType:int|int]] '''ID''' : id of the listbox item
 
* [[DataType:int|int]] '''ID''' : id of the listbox item
* [[DataType:int|int]] '''Value''' :  value of the listbox item
+
* [[DataType:string|string]] '''Value''' :  value of the listbox item
 
* [[DataType:int|int]] '''Order''' : order it shows up in the box  
 
* [[DataType:int|int]] '''Order''' : order it shows up in the box  
 +
* [[DataType:int|int]] '''Items''' : total number of items in the listbox
 
* [[DataType:string|string]] '''Text''' : text of the listbox item
 
* [[DataType:string|string]] '''Text''' : text of the listbox item
 +
 
== Methods ==
 
== Methods ==
 
*'''SetText['''#''']''' : set the text of the listbox item
 
*'''SetText['''#''']''' : set the text of the listbox item
 
*'''SetTextColor['''#''']''' : set the text color of the listbox item
 
*'''SetTextColor['''#''']''' : set the text color of the listbox item
*'''SetValue['''#''']''' : set the value of the listbox item
+
::Color:  AARRGGBB (Hex values) where
 +
:::AA = Alpha
 +
:::RR = Red
 +
:::GG = Green
 +
:::BB = Blue
 +
*'''SetValue[]''' : set the value of the listbox item
 
*'''Select''' : selects the listbox item
 
*'''Select''' : selects the listbox item
 
*'''Deselect''' : deselects the listbox item
 
*'''Deselect''' : deselects the listbox item
*'''SelectToggle''' : toggles the selection status of the listbox item
+
*'''Toggle''' : toggles the selection status of the listbox item
 +
*'''Remove''' : removes the listbox item
  
 
== Inherits ==
 
== Inherits ==
[[ISSession:isuielement (Data Type)|isuielement]]
+
None.
  
 
== Returns ==
 
== Returns ==
Line 25: Line 33:
 
== See Also ==
 
== See Also ==
 
* [[LavishGUI]]
 
* [[LavishGUI]]
 +
* [[LavishGUI:listbox_%28Element_Type%29|listbox (Element Type)]]
 
* [[LavishScript:Data Types|LavishScript Data Types]]
 
* [[LavishScript:Data Types|LavishScript Data Types]]
 
* [[IS:Session#Data_Types|Inner Space Session Data Types]]
 
* [[IS:Session#Data_Types|Inner Space Session Data Types]]
  
 
[[Category:LavishGUI]]
 
[[Category:LavishGUI]]

Latest revision as of 04:40, 25 September 2013

Description

This data type provides and controls data for listbox (Element Type).

Members

  • int TextColor : color of the text on the listbox item
  • int ID : id of the listbox item
  • string Value : value of the listbox item
  • int Order : order it shows up in the box
  • int Items : total number of items in the listbox
  • string Text : text of the listbox item

Methods

  • SetText[#] : set the text of the listbox item
  • SetTextColor[#] : set the text color of the listbox item
Color: AARRGGBB (Hex values) where
AA = Alpha
RR = Red
GG = Green
BB = Blue
  • SetValue[] : set the value of the listbox item
  • Select : selects the listbox item
  • Deselect : deselects the listbox item
  • Toggle : toggles the selection status of the listbox item
  • Remove : removes the listbox item

Inherits

None.

Returns

Same as Text

Examples

See Also