public class Label extends Widget:
Static text label.
Labels use the widget font stack so they integrate with modern form controls.
lbl = Label("First name")| Modifier and Type | Member | Description |
|---|---|---|
| public property | buddybuddy as Widget = null |
Widget focused when the label mnemonic is activated. |
| public readonly property | displayTextdisplayText as String: |
Text rendered on screen after removing mnemonic markers. |
| public property | texttext as String = "" |
Raw label text. |
| Modifier and Type | Member | Description |
|---|---|---|
| public static | displayTextFor | Removes mnemonic markers from label text. |
| public static | mnemonicFor | Returns the mnemonic character declared in a label text. |
| public override | paintpaint(painter as Painter) as Void: |
Paints the label content with antialiased text. |