Difference between revisions of "Combobox"

From Lianjapedia
Jump to: navigation, search
Line 5: Line 5:
 
This class supports the [[:Category:Common_Properties|Common Properties]] plus the following:
 
This class supports the [[:Category:Common_Properties|Common Properties]] plus the following:
  
{| class="wikitable" width=100%
+
{| class="wikitable" width="100%"
 
!width="20%"|Property
 
!width="20%"|Property
 
!Access (R/RW)
 
!Access (R/RW)
Line 72: Line 72:
 
This class supports the [[:Category:Common_Methods|Common Methods]] plus the following:
 
This class supports the [[:Category:Common_Methods|Common Methods]] plus the following:
  
{| class="wikitable" width=100%
+
{| class="wikitable" width="100%"
 
!width="20%"|Method
 
!width="20%"|Method
 
!Args
 
!Args
Line 103: Line 103:
 
This class supports the [[:Category:Common_Events|Common Events]] plus the following:
 
This class supports the [[:Category:Common_Events|Common Events]] plus the following:
  
{| class="wikitable" width=100%
+
{| class="wikitable" width="100%"
 
!width="20%"|Event
 
!width="20%"|Event
 
!Args
 
!Args

Revision as of 10:24, 30 January 2013

Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.

Properties

This class supports the Common Properties plus the following:

Property Access (R/RW) Value Description
Text RW Character Current item text value
Value RW Character or numeric Current item text or index value
ListIndex RW Numeric Current item index value
ListCount R Numeric Number of items in the list
Readonly RW Boolean If True, object cannot be modified
ExtendItems RW Boolean If True, extend items
Validation RW Character String containing boolean expression to validate data entry
ValidationErrorMessage RW Character Message displayed if validation returns False
ColumnCount RW Numeric Number of columns
RowSource RW Character Row data source
RowSourceType RW Numeric Row data source type

Methods

This class supports the Common Methods plus the following:

Method Args Description
AddItem item as Character Add the specified item
AddItems selectstatement as Character | commalist as Character | pipelist as Character | items as Array[, icon as Character] Add the specified items: comma-separated list, pipe-separated list or elements of the specified array, optional including the filename of an icon.
RemoveItem item as Character | index as Numeric Remove the specified object
Clear None Remove all items
List index as numeric Return the specified item

Events

This class supports the Common Events plus the following:

Event Args Description