LavishGUI:lguilistboxitem (Data Type)

From Lavish Software Wiki
Jump to navigation Jump to search

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