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
| Accelerator | Sets or retrieves the accelerator key for a control. |
| AutoSize | Specifies whether an object automatically resizes to display its entire contents. |
| BackColor | Specifies the background color of the object. |
| BackStyle | Returns or sets the background style for an object. |
| BorderColor | Specifies the color of an object's border. |
| BorderStyle | Specifies the type of border used by a control or a form. |
| Caption | Descriptive text that appears on an object to identify or describe it. |
| Enabled | Specifies whether a control can receive the focus and respond to user-generated events. |
| Font | Specifies the font used to display the caption text. Tahoma, regular, 8 (default) |
| FontColor | Specifies the foreground color of an object. |
| MouseIcon | Assigns a custom icon to an object. |
| MousePointer | Specifies the type of pointer displayed when the user positions the mouse over a particular object. |
| Picture | Specifies the bitmap to display on an object. |
| PicturePosition | Specifies the location of the picture relative to its caption. |
| SpecialEffect | Specifies the visual appearance of an object. |
| TextAlign | Specifies how text is aligned in a control. |
| WordWrap | Indicates whether the contents of a control automatically wrap at the end of a line. |
Events
| BeforeDragOver | Occurs when a drag-and-drop operation is in progress. |
| BeforeDropOrPaste | Occurs when the user is about to drop or paste data onto an object. |
| Click | Occurs when the user clicks the control with the mouse. |
| DblClick | Occurs when the user points to an object and then clicks a mouse button twice. |
| Error | Occurs when a control detects an error and cannot return the error information to a calling program. |
| MouseDown | Occurs when the user presses the mouse button. |
| MouseMove | Occurs when the user moves the mouse. |
| MouseUp | Occurs when the user releases the mouse button. |
© 2025 Better Solutions Limited. All Rights Reserved. © 2025 Better Solutions Limited TopPrevNext