Label Control

This control displays text that cannot be edited by the user.

NOTE:  The current version of abcDB has a maximum of 40 labels, 40 textboxes, 7 dropdowns, 6 buttons, 14 checkboxes, 1 grid, 4 datepickers, 1 image, 1 scribble and 1 tab per form.

The Label control supports the following properties.

Property Name

Description

Alignment

Determines whether the text of this label will be left justified, right justified or center justified.

Back Color

Background Color

Caption

The text that this label will display.

Font

The FONT this LABEL will use.

Font Size

The SIZE of the font this LABEL will use.

Font Bold

Specifies if the font will be displayed in BOLD.

Font Italic

Specifies if the font will be displayed in ITALIC.

Font Underline

Specifies if the font will be displayed in UNDERLINE.

Fore Color

The foreground color of this LABEL.

Tag

You can use the Tag property to specify or determine the string that identifies the name of a LABEL. 

Visible

Specifies whether this LABEL will be visible or invisible

Height

The height of this LABEL in Twips*

Width

The width of this LABEL in Twips*

Left

The horizontal location of the top-left corner of this LABEL in Twips*

Top

The vertical location of the top-left corner of this LABEL in Twips*

TabPage If a tab-control is present on the form, this property determines which 'page' of the tab this control will be located on.  0-Not on tab.

 

The LABEL control supports the following EVENTS.

Event Name

Description

On Click

The ON CLICK event fires whenever this label is ‘tapped’.