CheckBox edit style (code 85)

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

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

 

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