CheckBox edit style (code 85)

Table B-8 shows a sample row in the PBCatEdt table for a CheckBox edit style. Table B-9 shows the meaning of the values in Table B-8.

Table B-8: Sample row in PBCatEdt for a CheckBox edit style

Name

Edit

Type

Cntr

Seqn

Flag

Work

MyEdit

Text

85

1

1

Flag

MyEdit

OnValue

85

1

2

0

MyEdit

OffValue

85

1

3

0

MyEdit

ThirdValue

85

1

4

0

Table B-9: Values used in CheckBox edit style sample

Value

Meaning

Text

CheckBox text

OnValue

Data value for On state

OffValue

Data value for Off state

ThirdValue

Data value for Third state (this row exists only if 3 State is checked for the edit style—bit 30 of Flag is 1)

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: Left Text

  • Bit 30: 3 State

  • Bit 29: 3D

  • Bit 28: Scale Box

  • Bits 27 – 16 (3 hex digits): Not used (set to 0)

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

  • Bit 3: Always 0 for CheckBox edit style

  • Bit 2: Always 1 for CheckBox edit style

  • Bit 1: Always 0 for CheckBox edit style

  • Bit 0: Always 0 for CheckBox edit style