Skip to content

Column_Combo_Code_Display_Mode - dbGrid

Determines what is displayed in the combo form and its dropdown list

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Parameters

Parameter Type Description
iColumn Integer The column number (0-based)

Syntax

Property Integer Column_Combo_Code_Display_Mode
Access Type Syntax
Read Access: Get Column_Combo_Code_Display_Mode to IntegerVariable
Write Access: Set Column_Combo_Code_Display_Mode to IntegerVariable/Value

Description

Determines what is displayed in the combo form and its dropdown list.

Valid values:

Col 1 Col 2
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

Sample

This sample causes the combo form in column 2 and the values in its dropdown list to display the description and the code for each item.

set Column_Combo_Code_Display_mode 2 to CB_Code_Display_Both