Label (gb.gui)

This control displays a piece of text.

Desde 3.16

This control has been rewritten in Gambas since 3.16 version.

Esta clase hereda UserControl.

Esta clase es instanciable.

Propiedades
Alignment   Return or set the text alignment.
AutoResize   Return or set if the control adapts its size to its contents automatically.
Background  
Border   Return or set the border displayed around the control.
BorderColor   Return or set the border color This property has an effect when the Border property is set to Plain ? only.
BorderRadius   Return or set the background border radius
BorderWidth   Return or set the border width This property has an effect when the Border property is set to Plain ? only.
Caption   Return or set the displayed text.
Padding   Return or set the inner padding around the text, in pixels.
Text   Return or set the displayed text.
Transparent   Return or set if the control background is transparent. This property is deprecated.
Trim   Return or set if the displayed text must be trimmed with an ellipsis when it overflows the Label frame.

Inherited properties
Action  
Children  
ClientH  
ClientHeight  
ClientW  
ClientWidth  
ClientX  
ClientY  
Cursor  
Design  
Direction  
Drop  
Enabled  
Expand  
Font  
Foreground  
H  
Handle  
HasFocus  
Height  
Hovered  
Id  
Ignore  
Left  
Mouse  
Name  
Next  
NoAnimation  
NoTabFocus  
Parent  
PopupMenu  
Previous  
Proxy  
ProxyFor  
RightToLeft  
ScreenX  
ScreenY  
Tag  
Tooltip  
Top  
Tracking  
Visible  
W  
Width  
Window  
X  
Y  

Métodos
Adjust   Resize the control so that it adapts to its contents.

Inherited methods
Delete  
Drag  
FindChild  
Grab  
Hide  
Lower  
Move  
MoveScaled  
Raise  
Refresh  
Reparent  
Resize  
ResizeScaled  
SetFocus  
Show  

Inherited events
Arrange  
BeforeArrange  
DblClick  
Drag  
DragLeave  
DragMove  
Drop  
Enter  
GotFocus  
KeyPress  
KeyRelease  
Leave  
LostFocus  
Menu  
MouseDown  
MouseDrag  
MouseMove  
MouseUp  
MouseWheel  
NewChild