Static Labels

To create a static text label, call the following  subroutine from your application:

CALL PIX.GUI.LOAD.LABEL(GUI.APP.NAME, CONTROL.DETAILS, STRING)

Where:

CONTROL.DETAILS

Control ID, LABEL, X, Y, W, H, Label, {Key1,...Keyn}

Where:

Control ID

The unique name for the text label.

LABEL

Text literal LABEL.

X

The X co-ordinate of the left of the label.

Y

The Y co-ordinate of the top of the label.

W

Width of the label (characters).

H

Height of the label (characters).

Label

Text to be printed as Label.

Key1...Keyn

Additional parameters if required, in any order - see below.

The following extra keyword parameters are available:

HIDE

SHOW *

LEFT *

FONTNAME

RIGHT

TERMITE *

SYSTEM

GRAYED

UNGRAYED *

CENTRE

BORDERON

BORDEROFF *

HELV8

HELV10

 

Default settings are denoted by *.

Alternatively, you can use the PIX.GUI.CONTROL.LOAD subroutine, see Loading all types of controls for details.

Static Labels Program Example

052    CALL PIX.GUI.LOAD.LABEL("" ,"LAB1,LABEL,1,2,6,1,Name : ,Helv10,Right","")
053 CALL PIX.GUI.LOAD.LABEL("" ,"LAB2,LABEL,1,4,6,1,Group : ,Helv10,Right","")
054 CALL PIX.GUI.LOAD.LABEL("" ,"LAB3,LABEL,1,10,6,1,Breed : ,Helv10,Right","")
055 CALL PIX.GUI.LOAD.LABEL("" ,"LAB4,LABEL,37,2,6,1,D.O.B : ,Helv10,Right","")
056    CALL PIX.GUI.LOAD.LABEL("" ,"LAB5,LABEL,25,4,6,1,
Class : ,Helv10,Right","") 057 CALL PIX.GUI.LOAD.LABEL("" ,"LAB6,LABEL,25,13,6,1,
Address :,Helv10,Right","")