Accessors for class IliToggleSelector

Properties

Methods

Description

The IliToggleSelector class defines a gadget that contains a set of toggle gadgets. Each toggle gadget corresponds to a row in the foreign table. Only one toggle can be checked at a time. The label of each toggle is taken from the "display column" of the foreign table whereas its value is equal to that of the foreign table's "value column". The value of the toggle selector is that of the selected toggle.

TypeNameDescriptionNotes
StringcolumnNameContains the column name that the gadget must connect to. The column name must designate a valid column of the data source.
IliDataSourcedataSourceContains the data source object. This property cannot be written to if the dataSourceName property is not empty. In other words, the data source can be specified either literally through the dataSource property or by name through the dataSourceName property, but not both.
StringdataSourceNameContains the data source name.
StringforeignDataSourceNameContains the foreign data source name.
StringforeignDisplayColumnNameContains the foreign display column name.
IliTableforeignTableContains the foreign table. This property cannot be written to if the foreignDataSourceName property is not empty. In other words, the foreign table can be specified either literally through the foreignTable property or by name through the foreignDataSourceName property, but not both.
StringforeignValueColumnNameContains the foreign value column name.
BooleaninputModifiedThis property is true if the value has been modified by the end user.
StringlabelContains the frame title of the toggle selector.
BooleanreadOnlyThis property is true if the gadget is read only.
IntselectedContains the position of the currently checked toggle.
StringtablePropertyManagerNameContains the name of the table property manager used by this gadget or null if the data source's table property manager is used. Initially, this property is null.
BooleanuseTablePropertiesContains true if the gadget uses table properties. Note that the gadget will effectively use table properties if this property is true and if the data source to which it is connected is also using table properties. Initially, this property is true.
VariantvalueContains the value of the toggle selector. The type of this property depends on the column data type.
DatatypevalueTypeContains the data type of the value. Its string representation can be one of the following:
  • String

  • Integer

  • Boolean

  • Double

  • Float

  • Decimal

  • Date

  • Time

Although this property is not read-only, it should not be assigned if the toggle selector is connected to a data source.
VoidendOfBatch()Called to terminate a series of modifications of properties. A call to this method must be preceded by a call to the startOfBatch method. Calls to startOfBatch and endOfBatch can be nested.
VoidstartOfBatch()Called to start a series of modifications of properties. A call to this method must be followed by a call to the endOfBatch method.