Language Reference Guide : System Classes : ChoiceList Class : ValueByBitmap Method
 
Share this page          
ValueByBitmap Method
The ValueByBitmap method returns the EnumValue column value from the row that contains the specified bitmapvalue in the EnumBitmap column.
This method has the following syntax:
integer = ChoiceList.ValueByBitmap(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, the method returns CL_INVALIDVALUE. Descriptions of system constant values and their numeric equivalents are listed in Enumerated Values for ChoiceList.