This shows you the differences between two versions of the page.
— |
koda:en:documentation:control_label [2014/07/10 10:48] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Label ====== | ||
+ | {{page> | ||
+ | {{page> | ||
+ | {|class=" | ||
+ | |- | ||
+ | |class=" | ||
+ | |class=" | ||
+ | |} | ||
+ | Creates a static label | ||
+ | |||
+ | |||
+ | # | ||
+ | |||
+ | |**Align**|{{KODA> | ||
+ | |**AutoSize**|When True, width of label automatically adjusts to width of text| | ||
+ | |**Caption**|{{KODA> | ||
+ | |**Color**|{{KODA> | ||
+ | |**ContextMenu**|{{KODA> | ||
+ | |**Cursor**|{{KODA> | ||
+ | |**Enabled**|False generates <color blue> | ||
+ | |**Font**|{{KODA> | ||
+ | |**Left, | ||
+ | |**Width, | ||
+ | |**Hint**|Text that appears when cursor hovers over control. Generates call to <color blue> | ||
+ | |**HotKey**|{{KODA> | ||
+ | |**Name**|{{KODA> | ||
+ | |**OnClick**|Koda generates (in Message Loop mode) a <color blue> | ||
+ | |**Resizing**|{{KODA> | ||
+ | |**TabOrder**|Sequence in which controls are selected with the < | ||
+ | |**UpDown**|Specifies [[koda: | ||
+ | |**Visible**|If False, generates | ||
+ | |||
+ | # | ||
+ | |||
+ | |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 < | ||
+ | |WS_HSCROLL|{{KODA> | ||
+ | |WS_VSCROLL|{{KODA> | ||
+ | |WS_VISIBLE|{{KODA> | ||
+ | |WS_BORDER|{{KODA> | ||
+ | |WS_CLIPSIBLINGS|{{KODA> | ||
+ | |||
+ | # | ||
+ | |||
+ | |GUI_WS_EX_PARENTDRAG|Allows control to be used as the title bar to drag the whole parent window | | ||
+ | |WS_EX_CLIENTEDGE|{{KODA> | ||
+ | |WS_EX_STATICEDGE|{{KODA> | ||
+ | |||
+ | # | ||
+ | |||
+ | None | ||
+ | |||
+ | # | ||
+ | |||
+ | None |