Page History
...
Every single thing that appears on a LANSA panel must fall into one of the following categories:
Panel Element Category | Description Of Panel Element Category |
|---|---|
ABCH | Action bar and pull-down choices |
PBPT | Panel title |
PBPI | Panel identifier |
PBIN | Instructions to user |
PBFP | Field prompt / label / description details |
PBBR | Brackets |
PBCM | Field column headings |
PBGH | Group headings |
PBNT | Normal text |
PBET | Emphasized text |
PBEN | Input capable field (normal) |
PBEE | Input capable field (emphasized) |
PBCH | Choices shown on menu |
PBSC | Choice last selected from menu |
PBUC | Choices that are not available |
PBCN | Protected field (normal) |
PBCE | Protected field (emphasized) |
PBSI | Scrolling information |
PBSL | Separator line |
PBWB | Pop-up window border |
FKCH | Function key information |
When a new LANSA partition is being defined to conform to SAA/CUA standards (or an existing one is being modified), you are asked to define 3 different things for each of these panel element categories.
These are:
- What color elements in this category should be displayed on color screens?
- Any special attributes that apply to panel elements in the category when it is used on a color screen?
- Any special attributes that apply to panel elements in the category when it is used on a monochromatic screen?
...
These panel body categories can actually be associated with fields as input or output attributes within the LANSA Repository. Usually only four of these are ever used in this way:
Panel Element Category | Description Of Panel Element Category |
|---|---|
PBEN | Input capable field (normal) |
PBEE | Input capable field (emphasized) |
PBCN | Protected field (normal) |
PBCE | Protected field (emphasized) |
In an SAA/CUA partition, a vital or key field, such as "Customer Number" might be defined in the LANSA dictionary like this:Input attributes : PBEE FE RBOutput attributes : PBCE
Input attributes : PBEE FE RB
Output attributes : PBCE
Whereas a normal field, such as "Customer zip code" might be defined in the LANSA dictionary like this:Input attributes : PBEN RZOutput attributes : PBCN
Input attributes : PBEN RZ
Output attributes : PBCN
Note how additional input or output attributes can also be included into this Repository list. Typically, these include things like FE (field exit required), RB (right adjust and blank fill), etc, etc.
...