Label (lbl)

Label - This control allows you to display text to the user. This is normally only to display descriptive text.


Displays text
The minimum height needed to display all characters is 17 points


Properties

AcceleratorSets or retrieves the accelerator key for a control.
AutoSizeSpecifies whether an object automatically resizes to display its entire contents.
BackColorSpecifies the background color of the object.
BackStyleReturns or sets the background style for an object.
BorderColorSpecifies the color of an object's border.
BorderStyleSpecifies the type of border used by a control or a form.
CaptionDescriptive text that appears on an object to identify or describe it.
EnabledSpecifies whether a control can receive the focus and respond to user-generated events.
FontSpecifies the font used to display the caption text. Tahoma, regular, 8 (default)
FontColorSpecifies the foreground color of an object.
MouseIconAssigns a custom icon to an object.
MousePointerSpecifies the type of pointer displayed when the user positions the mouse over a particular object.
PictureSpecifies the bitmap to display on an object.
PicturePositionSpecifies the location of the picture relative to its caption.
SpecialEffectSpecifies the visual appearance of an object.
TextAlignSpecifies how text is aligned in a control.
WordWrapIndicates whether the contents of a control automatically wrap at the end of a line.

Events

BeforeDragOverOccurs when a drag-and-drop operation is in progress.
BeforeDropOrPasteOccurs when the user is about to drop or paste data onto an object.
ClickOccurs when the user clicks the control with the mouse.
DblClickOccurs when the user points to an object and then clicks a mouse button twice.
ErrorOccurs when a control detects an error and cannot return the error information to a calling program.
MouseDownOccurs when the user presses the mouse button.
MouseMoveOccurs when the user moves the mouse.
MouseUpOccurs when the user releases the mouse button.

© 2025 Better Solutions Limited. All Rights Reserved. © 2025 Better Solutions Limited TopPrevNext