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

From Lavish Software Wiki
Jump to navigation Jump to search
Line 11: Line 11:
 
*'''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
 +
::Color:  AARRGGBB (Hex values) where
 +
:::AA = Alpha
 +
:::RR = Red
 +
:::GG = Green
 +
:::BB = Blue
 
*'''SetValue['''#''']''' : set the value of the listbox item
 
*'''SetValue['''#''']''' : set the value of the listbox item
 
*'''Select''' : selects the listbox item
 
*'''Select''' : selects the listbox item

Revision as of 18:02, 2 June 2012

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
  • int 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