- Foreword
- Basics
- Interface
- Menu
- File
- Import
- Edit
- View
- Options
- Options
- Tools
- Help
- Windows & Dialogs
- Controls
- Standard
- Additional
- Win32
-
- Property Editors
- Appendices
{|class=“cboxtable”
class=“cboxcell1” |
class=“cboxcell2” |
Creates a static label
#remarks_header[Properties:]#
Align | |
AutoSize | When True, width of label automatically adjusts to width of text |
Caption | |
Color | |
ContextMenu | |
Cursor | |
Enabled | False generates <color blue>GUICtrlSetState(-1, $GUI_DISABLE)</color> |
Font | |
Left,Top | |
Width,Height | |
Hint | Text that appears when cursor hovers over control. Generates call to <color blue>GUICtrlSetTip</color> |
HotKey | |
Name | |
OnClick | Koda generates (in Message Loop mode) a <color blue>Case</color> or (in OnEvent mode) a call to <color blue>GUISetOnEvent</color> and a skeleton event function. Double-click to right to open Events Editor |
Resizing | |
TabOrder | Sequence in which controls are selected with the Tab and Shift+Tab keys. For a Form and for each Group, TabOrder starts with 0. You may prefer to use the TabOrder Visual Editor: press Ctrl+T to open it. |
UpDown | Specifies Updown control to attach to control. Create UpDown first. Click on + to show its properties |
Visible | If False, generates <color blue>GUICtrlSetState(-1, $GUI_HIDE)</color> |
#remarks_header[Styles:]#
SS_LEFT | Left-aligns text |
SS_CENTER | Center-aligns text |
SS_RIGHT | Right-aligns text |
SS_BLACKRECT | Rectangle filled with current window frame color (default: black). Does not display text |
SS_GRAYRECT | Rectangle filled with current screen background color (default: gray). Does not display text |
SS_WHITERECT | Rectangle filled with current window background color (default: white). Does not display text |
SS_BLACKFRAME | Box with frame drawn in same color as window frame (default: black). Does not display text |
SS_GRAYFRAME | Box with frame drawn in same color as screen background (desktop) (default: gray) |
SS_WHITEFRAME | Box with frame drawn with same color as window background (default: white). Does not display text |
SS_SIMPLE | Rectangle. Displays single line of left-aligned text. Do not update text. Disabling control does not gray text |
SS_LEFTNOWORDWRAP | Left-aligns text in rectangle. Expands tabs, but not word-wrapped. Text beyond control is clipped |
SS_ETCHEDHORZ | Top and bottom edges have EDGE_ETCHED style |
SS_ETCHEDVERT | Left and right edges have EDGE_ETCHED style |
SS_ETCHEDFRAME | Frame has EDGE_ETCHED style |
SS_NOPREFIX | Do not interpret ampersand (&) characters as accelerator key prefixes |
SS_CENTERIMAGE | Center an image; center single-line text vertically |
SS_RIGHTJUST | Lower right corner of an image remains fixed when control is resized |
SS_SUNKEN | Half-sunken border |
WS_TABSTOP | Control can be selected with Tab and Shift+Tab |
WS_HSCROLL | |
WS_VSCROLL | |
WS_VISIBLE | |
WS_BORDER | |
WS_CLIPSIBLINGS |
#remarks_header[Extra Styles:]#
GUI_WS_EX_PARENTDRAG | Allows control to be used as the title bar to drag the whole parent window |
WS_EX_CLIENTEDGE | |
WS_EX_STATICEDGE |
#remarks_header[Remarks:]#
None
#remarks_header[Related:]#
None