Code_Display_Mode - ValidationList
Specifies whether the list will display the choices' codes, descriptions, or both
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Parameters
| Parameter | Type | Description |
|---|---|---|
| iState | Integer | Item or column (0 if omitted) |
Syntax
Property Integer Code_Display_Mode
| Access Type | Syntax |
|---|---|
| Read Access: | Get Code_Display_Mode to IntegerVariable |
| Write Access: | Set Code_Display_Mode to IntegerVariable/Value |
Description
Code_Display_Mode specifies whether the list will display the choices' codes, descriptions, or both.
Possible values are:
| Constant | Meaning |
|---|---|
| -1 | Auto-Assign |
| CB_Code_Display_Description | Displays the description |
| CB_Code_Display_Code | Displays the code |
| CB_Code_Display_Both | Displays the description and the code |
Default is CB_Code_Display_Description.