DropDownDataWindow edit style (code 88)

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

Name

Edit

Type

Cntr

Seqn

Flag

Work

MyEdit

DataWin

88

1

1

Flag

Limit

MyEdit

DataCol

88

1

2

0

Key

MyEdit

DisplayCol

88

1

3

0

Width%


Value

Meaning

DataWin

Name of DataWindow object to use.

DataCol

Data column from DataWindow object.

DisplayCol

Display column from DataWindow object.

Limit

Character representation (in decimal) of Limit value.

Key

One-character accelerator key.

Width%

Width of the dropdown part of the DropDownDataWindow in %.

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: Allow editing

Bit 30: Auto HScroll

Bit 29: VScroll bar

Bit 28: Always show list

Bit 27: Uppercase

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

Bit 25: HScroll bar

Bit 24: Split horizontal scroll bar

Bit 23: Empty string is NULL

Bit 22: Required field

Bit 21: Always show arrow

Bit 20: Not used (set to 0)

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

Bits 15 – 8 (2 hex digits): Always 0 for DropDownDataWindow edit style

Bit 7: Always 0 for DropDownDataWindow edit style

Bit 6: Always 0 for DropDownDataWindow edit style

Bit 5: Always 0 for DropDownDataWindow edit style

Bit 4: Always 1 for DropDownDataWindow edit style

Bit 3 – 0 (1 hex digit): Always 0 for DropDownDataWindow edit style