LABEL
Refer to LABEL for details about properties, styles and events of this control.
Properties
(name)
Specifies the control name. This property is set automatically when the control is drawn
additional properties
Allows the user to specify additional properties and styles. The text you write here is generated as is and may generate compile errors if not correct.
background-color
Opens a dialog that allows the user to choose the control background color.
color
Opens a dialog that allows the user to choose the control color.
column
Specifies the X coordinate of the control as expressed in cells. This property is set automatically when the control is drawn.
column pixels
Specifies the X coordinate of the control as expressed in pixels. This property is set automatically when the control is drawn.
css-base-style-name
css-style-name
Specify the CSS style associated with the control. It works only in a WebDirect environment.
custom-data
Specifies the value for the Custom-Data property.
destroy type
AUTOMATIC...neither the Temporary nor Permanent styles are generated
TEMPORARY...Temporary style is generated
PERMANENT...Permanent style is generated
enabled
NONE...Enabled property is not generated
TRUE... Enabled=1 is generated
FALSE...Enabeld=0 is generated
font
Opens a dialog that allows the user to choose the control font.
 
The dialog lists the fonts installed in the system and allows you to load new fonts from disc files. Fonts loaded from disc are added to the list with an asterisk before their name. When one of these fonts is selected the Copy Resource option is enabled and can be activated. Activate the option to include the font disc file in the compiled class or be sure to distribute this file along with your application.
foreground-color
Opens a dialog that allows the user to choose the control foreground color.
height-in-cells
TRUE...The Height-In-Cells style is generated
FALSE... The Height-In-Cells style is not generated
help-id
Specifies the control Help-id.
hint
Specifies the value for the Hint property
orientation
Horizontal Left... No orientation style is generated, so Left is assumed
Horizontal Center... The Center style is generated
Horizontal Right...The Right style is generated
Vertical Top-Left... The Vertical style is generated
Vertical Top-Right... The Vertical and Right styles are generated
Vertical Center... The Vertical and Center styles are generated
Vertical Bottom-Left... The Vertical and Bottom styles are generated
Vertical Bottom-Right... The Vertical, Bottom and Right styles are generated
id
Specifies the control id. This property is set automatically when the control is drawn.
key
Specifies the value for the Key property.
label offset
Specifies the value for the Label-Offset property
layout-data
Opens a dialog that allows the user to choose the control resize rules.
If the option "Follows Layout-Manager defaults" is checked, the Layout-Data property is not generated.
line
Specifies the Y coordinate of the control as expressed in cells. This property is set automatically when the control is drawn
line pixels
Specifies the Y coordinate of the control as expressed in pixels. This property is set automatically when the control is drawn
lines
Specifies the control height as expressed in cells. This property is set automatically when the control is drawn
lines pixels
Specifies the control height as expressed in pixels. This property is set automatically when the control is drawn
lines unit
DEFAULT... Either CELLS or nothing is generated after the Lines value depending on the window’s “cell” property setting
None... Neither CELLS nor PIXELS are generated after the Lines value
CELLS... CELLS is generated after the Lines value
PIXELS... PIXELS is generated after the Lines value
lock
TRUE...Locks the control on the Screen Designer so that you cannot move it anymore by dragging it with the mouse.
FALSE...You can move the control on the Screen Designer by dragging it with the mouse
max-height
Specifies the control maximum height as expressed in cells
max-width
Specifies the control maximum width as expressed in cells
min-height
Specifies the control minimum height as expressed in cells
min-width
Specifies the control minimum width as expressed in cells
no-key-letter
TRUE...The No-Key-Letter style is generated
FALSE...The No-Key.-Letter style is not generated
no-tab
TRUE...The No-Tab style is generated
FALSE...The No-Tab style is not generated
notify-mouse
TRUE...The Notify-Mouse style is generated
FALSE...The Notify-Mouse style is not generated
size
Specifies the control width as expressed in cells. This property is set automatically when the control is drawn
size pixels
Specifies the control width as expressed in pixels. This property is set automatically when the control is drawn
size unit
DEFAULT... Either CELLS or nothing is generated after the Size value depending on the window’s “cell” property setting
None... Neither CELLS nor PIXELS are generated after the Size value
CELLS... CELLS is generated after the Size value
PIXELS... PIXELS is generated after the Size value
tab order
Sets the ordinal position of the control in the Screen Section. This property is set automatically when the control is drawn
title
Specifies the value for the Title property
title picture
Specifies the picture for the title variable
top
TRUE...The Top style is generated
FALSE...The Top style is not generated
transparent
TRUE...The Transparent style is generated
FALSE...The Transparent style is not generated
visible
NONE...Visible property is not generated
TRUE... Visible=1 is generated
FALSE...Visible=0 is generated
Events
msg-mouse-clicked event
 
Allows the user to create a paragraph to handle the MSG-MOUSE-CLICKED event in the Procedure Division
msg-mouse-dblclick event
Allows the user to create a paragraph to handle the MSG-MOUSE-DBLCLICK event in the Procedure Division
msg-mouse-enter event
Allows the user to create a paragraph to handle the MSG-MOUSE-ENTER event in the Procedure Division
msg-mouse-exit event
Allows the user to create a paragraph to handle the MSG-MOUSE-EXIT event in the Procedure Division
other event
Allows the user to create a custom paragraph
Exceptions
No Exceptions available.
Procedures
No Procedures available.
Variables
color variable
Numeric variable that hosts the color value
column variable
Numeric variable that hosts the column value
css-style-name variable
Alphanumeric variable that hosts the css style associated with the control. It works only in a WebDirect environment.
enabled variable
Numeric variable that hosts the enabled state
help-id variable
Numeric variable that hosts the help id
hint variable
Alphanumeric variable that hosts the value for the Hint property
id variable
Numeric variable that hosts the control id
key variable
Alphanumeric variable that hosts the value for the Key property
label-offset variable
Numeric variable that hosts the value for the Label-Offset property
layout-data variable
Numeric variable that hosts the control resize rules
lines variable
Numeric variable that hosts the lines value
line variable
Numeric variable that hosts the line value
max-height variable
Numeric variable that hosts the maximum height
max-width variable
Numeric variable that hosts the maximum width
min-height variable
Numeric variable that hosts the minimum height
min-width variable
Numeric variable that hosts the minimum width
size variable
Numeric variable that hosts the size value
title variable
Alphanumeric variable that hosts the value for the Title property
visible variable
Numeric variable that hosts the visible state