|
TALabel |
Creates a static label
| Align | Design only property, does not generate code, helps with aligning controls while editing. alBottom - control moves to bottom of client area, resizes to width of client area x original height alClient - control occupies the whole of the client area alCustom - not used alLeft - control moves to left edge of client area, resizes to original width x height of client area alNone - no aligning alRight - control moves to right edge of client area, resizes to original width x height of client area alTop - control moves to top of client area, resizes to width of client area x original height |
| AutoSize | When True, width of label automatically adjusts to width of text |
| Caption | Text displayed on the control |
| Color | Background color of control. Choose from the list, or enter your own. Format is 0xnumber where number is 6 hexadecimal digits: 2 for blue, 2 for green and 2 for red |
| ContextMenu | Specifies context menu to attach to control. Create the ContextMenu first |
| Cursor | Cursor shape to display when mouse is over this control |
| Enabled | False generates GUICtrlSetState(-1, $GUI_DISABLE) |
| Font | Double-click to the right to open the Font dialog. Click on + to show the Color, Name, Size and Style properties |
| Left,Top | Position of control relative to its parent |
| Width,Height | Size of control in pixels |
| Hint | Text that appears when cursor hovers over control. Generates call to GUICtrlSetTip |
| HotKey | Keystroke that makes this control active |
| Name | Name of control and of the variable that is assigned its control ID in generated code. If not specified, no variable is generated |
| OnClick | Koda generates (in Message Loop mode) a Case or (in OnEvent mode) a call to GUISetOnEvent and a skeleton event function. Double-click to right to open Events Editor |
| Resizing | Click on + to expand resize modes: DocAuto - resize and reposition according to new window size DocRight - Do not move right side DocLeft - Do not move left side DocTop - Do not move top DocBottom - Do not move bottom DocHCenter - Horizontal center remains fixed DocVCenter - Vertical center remains fixed DocWidth - Width does not change DocHeight - Height does not change |
| 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 GUICtrlSetState(-1, $GUI_HIDE) |
| 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 | Control has horizontal scroll bar |
| WS_VSCROLL | Control has vertical scroll bar |
| WS_VISIBLE | Control is visible |
| WS_BORDER | Control has a thin-line border |
| WS_CLIPSIBLINGS | If this control overlaps with another, this control shows partially |
| GUI_WS_EX_PARENTDRAG | Allows control to be used as the title bar to drag the whole parent window |
| WS_EX_CLIENTEDGE | Control has border with sunken edge |
| WS_EX_STATICEDGE | Control has a three-dimensional border |
None
None