Basic Properties - User Element
axUserElementBasicProperties
Description
Every new screen element has a fundamental and common set of properties, regardless of any further visualization that is applied to it.
New screen elements do not exist naturally on the 5250 screen.
They have been added to the 5250 screen layout by an aXes developer.
Usability
|
Context |
Supported |
|---|---|
|
Input screen fields |
No |
|
Output screen fields |
No |
|
Input subfile fields |
No |
|
Output subfile fields |
No |
|
New screen elements |
Yes |
Properties
|
Name |
Description and Comments |
JavaScript |
Shipped default |
|---|---|---|---|
|
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 |
|
name |
The symbolic name of the new screen element. Just as 5250 screen elements may have names, new screen elements may have names. |
No |
None |
|
style |
Additional style properties that should be applied to the screen element. |
Yes. Must return a valid style object. |
None |
|
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 |
|
type |
The type of the new screen element. May be input or output. The use of this property on new screen elements is rare. |
No |
Input |
|
visible |
Indicates whether this element is visible. |
Yes |
True |
Notes, Comments and Warnings
None.
Examples
1) If a new element is added to a screen and visualized as a push button, the tooltip property set to "I am a push button":
When the user hovers the mouse over the push button the tooltip appears.
