Table A-16 shows a sample row in the PBCatEdt table for an Edit edit style. Table A-17 shows the meaning of the values in Table A-16.
About the example This example shows an Edit edit style using a code table of display and data values. There is a pair of rows in PBCatEdt for each entry in the code table only if bit 23 of Flag is 1.
For information about code tables in edit styles, see Chapter 21, “Displaying and Validating Data.”
Name |
Edit |
Type |
Cntr |
Seqn |
Flag |
Work |
---|---|---|---|---|---|---|
MyEdit |
Limit |
89 |
1 |
1 |
Flag |
Key |
MyEdit |
Format |
89 |
1 |
2 |
0 |
Focus |
MyEdit |
Display1 |
89 |
1 |
3 |
0 |
|
MyEdit |
Data1 |
89 |
1 |
4 |
0 |
|
MyEdit |
Display2 |
89 |
1 |
5 |
0 |
|
MyEdit |
Data2 |
89 |
1 |
6 |
0 |
Value |
Meaning |
---|---|
Limit |
Character representation (in decimal) of Limit value. |
Key |
One-character accelerator key. |
Format |
Display format mask. |
Focus |
Character "1" if Show Focus Rectangle is checked. NULL otherwise. |
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.
|