axSimpleLine

Description

axSimpleLine allows a simple line to be inserted into the 5250 screen.

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

orientation

The intended orientation of the line. Specify as horizontal or vertical.

Yes. Must return "H" or "V".

Horizontal

lineStyle

The style of the line. Specify as dotted, dashed, solid or double.

Yes. Must return "dotted", "dashed", "solid" or "double".

Solid

lineColor

The color of the line. Must be a valid HTML color. For example: Green or #FFF5F6.

Yes. Must return a valid color.

Black

lineThickness

The thickness of the line in pixels. Must be specified as Npx where N is in the range 1 to 256.

Yes. Must return a valid thickness string in format "Npx".

1px

Notes, Comments and Warnings

In Application, appStylesTheme property = JQueryUI

When JQueryUI is selected from Application->Styling->appStylesTheme property, the display will change according to the theme that was set in the Application’s jqueryTheme property. Basically, the default border and the font styles will be based on the JQuery theme.

In Application, appStylesTheme property = Mayerial Design

When Material Design is selected from Application->Styling->appStylesTheme property, the display will change according to the theme that was set in the Application’s mdTheme property.

Examples

If these properties are used and the line is sized and located ….

orientation

Horizontal

lineStyle

Solid

lineColor

Green

lineThickness

2px

it could produce a display like this on the IBM i main menu ….

Image

If these properties are used and the line is sized and located ….

orientation

Vertical

lineStyle

Dashed

lineColor

Red

lineThickness

8px

it could produce a display like this on the IBM i main menu …

Image

Administrators

Legal Mentions

aXes is brought to you by:

LANSA

Serving the IBM i community for 30 years.