DropDownDataWindow edit style (code 88)

Table B-14 shows a sample row in the PBCatEdt table for a DropDownDataWindow edit style. Table B-15 shows the meaning of the values in Table B-14.

Table B-14: Sample row in PBCatEdt for a DropDownDataWindow edit style

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%

Table B-15: Values used in DropDownDataWindow edit style sample

Value

Meaning

DataWin

Name of DataWindow object (report) to use.

DataCol

Data column from DataWindow object (report).

DisplayCol

Display column from DataWindow object (report).

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