DropDownListBox edit style (code 87)

The following tables show a sample row in the PBCatEdt table for a DropDownListBox edit style and the meaning of the values.

Name

Edit

Type

Cntr

Seqn

Flag

Work

MyEdit

Limit

87

1

1

Flag

Key

MyEdit

Display1

87

1

2

0

 

MyEdit

Data1

87

1

3

0

 

MyEdit

Display2

87

1

4

0

 

MyEdit

Data2

87

1

5

0

 

Value

Meaning

Limit

Character representation (in decimal) of the Limit value.

Key

One-character accelerator key.

Display1

Display value for first entry in code table.

Data1

Data value for first entry in code table.

Display2

Display value for second entry in code table.

Data2

Data value for second entry in code table.

Display and data values are repeated in pairs for each entry in the code table.

Flag

32-bit flag. Low-order four hex digits are generic edit type; high-order four are styles within the type. A 1 in any bit indicates the corresponding style is checked. A 0 in any bit indicates the corresponding style is unchecked.

Bit 31: Sorted

Bit 30: Allow editing

Bit 29: Auto HScroll

Bit 28: VScroll bar

Bit 27: Always show list

Bit 26: Always show arrow

Bit 25: Uppercase

Bit 24: Lowercase (if bits 25 and 24 are both 0, then case is Any)

Bit 23: Empty string is NULL

Bit 22: Required field

Bit 21: Not used (set to 0)

Bit 20: Not used (set to 0)

Bits 19 – 16 (1 hex digit): Not used (set to 0)

Bits 15 – 4 (3 hex digits): Always 0 for DropDownListBox edit style

Bit 3: Always 0 for DropDownListBox edit style

Bit 2: Always 0 for DropDownListBox edit style

Bit 1: Always 1 for DropDownListBox edit style

Bit 0: Always 0 for DropDownListBox edit style