Language Reference Guide : 4. System Classes : ChoiceList Class : IndexByBitmap Method
 
Share this page                  
IndexByBitmap Method
The IndexByBitmap method returns the sequence number of the row in the ChoiceItems array that contains the specified bitmapvalue in the EnumBitmap column.
This method has the following syntax:
integer = ChoiceList.IndexByBitmap(bitmapvalue = BitmapObject)
This method has the following parameter:
bitmapvalue
Specifies the bitmapvalue
If more than one row contains the specified bitmapvalue, this method returns only the first row. If there are no rows with that value, it returns zero.