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

From Lavish Software Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
* [[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: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

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