3. System Classes : ButtonField Class : ChoiceList Class
 
Share this page                  
ChoiceList Class
ChoiceList Attributes
Attribute
Data Type
Description
Inherited
From
ChoiceItems
array of ChoiceDetail
Contains the list of values for the choices (RW)
Defined
ClassName
varchar(32)
Gives the name of an object's actual type (as opposed to its declared type) (R)
Object
ClientData
Object
Provides a way to associate data with an object (RW)
Object
InstanceIdentifier
integer
Contains a value that uniquely identifies an instance of an allocated object (R)
Object
InstanceReferences
integer
Contains the current number of references to the object (R)
Object
 
ChoiceList Methods
Method
Return
Value
Description
Inherited From
AddBitmapItem
(enumvalue =
integer,
textvalue = nvarchar,
bitmapvalue = BitmapObject)
integer
Adds a ChoiceBitmap row to the end of the ChoiceItems array
Defined
AddItem
(enumvalue =
integer,
textvalue = nvarchar,
displayvalue = nvarchar,
bitmapvalue = BitmapObject)
integer
Adds either a ChoiceItem or a ChoiceBitmap to the end of the ChoiceItems array
Defined
AddTextItem
(enumvalue = integer,
textvalue = nvarchar)
integer
Adds a row to the end of the ChoiceItems array
Defined
BitmapByDisplay
(displayvalue =
nvarchar)
BitmapObject
Returns the EnumBitmap column value from the row that contains the specified value in the EnumDisplay column
Defined
BitmapByIndex
(indexvalue =
integer)
BitmapObject
Returns the EnumBitmap column value from the row at the specified sequence number in the ChoiceItems array
Defined
BitmapByText
(textvalue =
nvarchar)
BitmapObject
Returns the EnumBitmap column value from the row that contains the specified value in the EnumText column
Defined
BitmapByValue
(enumvalue =
integer)
BitmapObject
Returns the EnumBitmap column value from the row that contains the specified value in the EnumValue column
Defined
DisplayByBitmap
(bitmapvalue =
BitmapObject)
nvarchar
Returns the EnumDisplay column value from the row that contains the specified value in the EnumBitmap column
Defined
DisplayByIndex
(indexvalue =
integer)
nvarchar
Returns the EnumDisplay column value from the row at the specified sequence number in the ChoiceItem array
Defined
DisplayByText
(textvalue =
nvarchar)
nvarchar
Returns the EnumDisplay column value from the row that contains the specified value in the EnumText column
Defined
DisplayByValue
(enumvalue =
integer)
nvarchar
Returns the EnumDisplay column value from the row that contains the specified value in the EnumValue column
Defined
Duplicate()
ChoiceList
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
GetAttribute
(
attributename = byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
Object
IndexByBitmap
(bitmapvalue =
BitmapObject)
integer
Returns the sequence number of the row in the ChoiceItems array that contains the specified bitmap value in the EnumBitmap column
Defined
IndexByDisplay
(displayvalue =
nvarchar)
integer
Returns the sequence number of the row in the ChoiceItems array that contains the specified value in the EnumDisplay column
Defined
IndexByText
(textvalue =
nvarchar)
integer
Returns the sequence number of the row in the ChoiceItems array that contains the specified value in the EnumText column
Defined
IndexByValue
(enumvalue =
integer)
integer
Returns the sequence number of the row in the ChoiceItems array that contains the specified value in the EnumValue column
Defined
IsA
(class
= classname)
integer
Returns TRUE if the object is of the same class as, or one of the subclasses of, the class specified by classname
Object
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object
TextByBitmap
(bitmapvalue =
BitmapObject)
nvarchar
Returns the EnumText column value from the row that contains the specified value in the EnumBitmap column
Defined
TextByDisplay
(displayvalue =
nvarchar)
nvarchar
Returns the EnumText column value from the row that contains the specified value in the EnumDisplay column
Defined
TextByIndex
(indexvalue =
integer)
nvarchar
Returns the EnumText column value from the row at the specified sequence number in the ChoiceItems array
Defined
TextByValue
(enumvalue =
integer)
nvarchar
Returns the EnumText column value from the row that contains the specified value in the EnumValue column
Defined
ValueByBitmap
(bitmapvalue =
BitmapObject)
integer
Returns the EnumValue column value from the row that contains the specified value in the EnumBitmap column
Defined
ValueByDisplay
(displayvalue =
nvarchar)
integer
Returns the EnumValue column value from the row that contains the specified value in the EnumDisplay column
Defined
ValueByIndex
(indexvalue =
integer)
integer
Returns the EnumValue column value from the row at the specified sequence number (indexvalue) in the ChoiceItems array
Defined
ValueByText
(textvalue =
nvarchar)
integer
Returns the EnumValue column from the row that contains the specified value EnumText column
Defined