Edit edit style (code 89)
The following tables show a sample row in the PBCatEdt table for
an Edit edit style and the meaning of the values.
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 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 |
|
Key |
One-character accelerator key. |
|
Format |
Display format mask. |
|
Focus |
Character “1” if Show Focus Rectangle is checked. |
|
Flag |
32-bit flag. Low-order four hex digits are Bit 31: Uppercase Bit 30: Bit 29: Auto selection Bit 28: Bit 27: Auto HScroll Bit Bit 25: HScroll bar Bit 24: VScroll bar Bit 23: Use code Bit 22: Validate using code table Bit 21: Display only Bit 20: Empty string Bit 19: Required field Bit Bit 17: Not used (set to Bit 16: Not used (set to 0) Bits Bit 3: Always 0 for Edit edit style Bit 2: Bit 1: Always 0 for Bit 0: Always 1 for Edit edit |