axElementBasicProperties
Description
Every 5250 screen element has a fundamental and common set of properties, regardless of any further visualization that is applied to it.
5250 screen elements exist naturally on the 5250 screen because of the way it has been designed and the DDS used to display it.
Usability
Context |
Supported |
|---|---|
|
Input screen fields |
Yes |
|
Output screen fields |
Yes |
|
Input subfile fields |
Yes |
|
Output subfile fields |
Yes |
|
New screen elements |
No |
Properties
Name |
Description and Comments |
JavaScript |
Shipped default |
|---|---|---|---|
|
style |
Additional style properties that should be applied to the screen element. |
Yes. Must return a valid style object. |
None. |
|
tabIndex |
The tab index that should be applied to this element relative to all other elements on the screen. |
No. |
0 |
|
visible |
Indicates whether this element is visible. |
Yes. |
True. |
|
enabled |
Indicates whether this element is enabled. This is for TS1 only. In TS2, the enabled property is specified in each extension that can be enabled and disabled. |
Yes. |
True. |
|
tooltip |
The tool tip (or hint) that should appear when the user hovers the mouse over this screen element. |
Yes. Must return a valid string. |
None. |
|
applyToInputOutput |
Indicates whether this eXtension should be applied automatically to both input and output element |
Yes |
False. |
Notes, Comments and Warnings
None.
Examples
1). On the System i Main Menu, option 8 – Problem handling has its tooltip property set to Please screen print and problem report details that you have and e-mail them to This email address is being protected from spambots. You need JavaScript enabled to view it. for further assistance.
When the user hovers the mouse over the option the tooltip appears, like this: