Edit Mask edit style (code 90)
The following tables show a sample row in the PBCatEdt table for
an EditMask edit style and the meaning of the values.
About the example
This example shows an Edit Mask edit style using a code table
of display and data values as part of a spin control. Rows 2 and
beyond exist in PBCatEdt only if the edit mask is defined as a spin
control (bit 29 of Flag is 1). Rows 3 and beyond exist only if the
optional code table is populated.
For information about using an edit mask as a spin control,
see Displaying and
Validating Data.
|
Name |
Edit |
Type |
Cntr |
Seqn |
Flag |
Work |
|---|---|---|---|---|---|---|
|
MyEdit |
Format |
90 |
1 |
1 |
Flag |
DtFcKy |
|
MyEdit |
Range |
90 |
1 |
2 |
0 |
SpinInc |
|
MyEdit |
Display1 |
90 |
1 |
3 |
0 |
|
|
MyEdit |
Data1 |
90 |
1 |
4 |
0 |
|
|
MyEdit |
Display2 |
90 |
1 |
5 |
0 |
|
|
MyEdit |
Data2 |
90 |
1 |
6 |
0 |
|
Value |
Meaning |
|---|---|
|
Format |
Display format mask. |
|
DtFcKy |
Concatenated string with 1-character data-type Data type
Examples:
|
|
Range |
Character representation (in decimal) of spin Example: “1[tab]13” |
|
SpinInc |
Character representation (in decimal) of spin |
|
Display1 |
Display value for first entry in code |
|
Data1 |
Data value for first entry in code |
|
Display2 |
Display value for second entry in code |
|
Data2 |
Data value for second entry in code Display and data values are repeated in |
|
Flag |
32-bit flag. Low-order four hex digits are Bit 31: Required Bit 30: Bit 29: Spin control Bit 28: Bit 27: Use code Bit 26: Not used (set to 0) Bit Bit 24: Not used (set to Bit 23 – 16 (2 hex digits): Not used (set to Bit 15 – 8 (2 hex digits): Always 0 for Edit Bit 7: Always 0 for Edit Mask edit Bit 6: Always 0 for Edit Mask edit Bit 5: Always 1 for Edit Mask edit Bit 4: Always 0 for Edit Mask edit Bits 3 – 0 (1 hex digit): Always 0 for Edit |
About this appendix
This appendix describes the OrcaScript scripting language.
OrcaScript allows you to perform source control operations and build
PowerBuilder workspaces and executables without operator intervention.
The full ORCA tool kit is available to Appeon partners only, but
OrcaScript can be used by any PowerBuilder customer.