This shows you the differences between two versions of the page.
koda:en:documentation:control_graphic [2014/07/10 10:48] |
koda:en:documentation:control_graphic [2014/07/10 10:48] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Graphic ====== | ||
+ | {{page> | ||
+ | {{page> | ||
+ | {|class=" | ||
+ | |- | ||
+ | |class=" | ||
+ | |class=" | ||
+ | |} | ||
+ | Creates a graphic control | ||
+ | |||
+ | # | ||
+ | |**Align**|{{KODA> | ||
+ | |**BgColor**|{{KODA> | ||
+ | |**Color**|{{KODA> | ||
+ | |**ContextMenu**|{{KODA> | ||
+ | |**Cursor**|{{KODA> | ||
+ | |**Enabled**|False generates <color blue> | ||
+ | |**Left, | ||
+ | |**Width, | ||
+ | |**Hint**|Text that appears when cursor hovers over control. Generates call to <color blue> | ||
+ | |**Items**|Shapes that form the graphic. Double-click to right to open [[proped_graphic_editor]].| | ||
+ | |**Name**|{{KODA> | ||
+ | |**OnClick**|{{KODA> | ||
+ | |**Resizing**|{{KODA> | ||
+ | |**TabOrder**|Sequence in which controls are selected with the < | ||
+ | |**Visible**|If False, generates <color blue> | ||
+ | |||
+ | # | ||
+ | |||
+ | |SS_BLACKRECT|Rectangle filled with current window frame color (default:\\ black) | | ||
+ | |SS_GRAYRECT|Rectangle filled with current screen background color\\ (default: gray) | | ||
+ | |SS_WHITERECT|Rectangle filled with current window background color\\ (default: white) | | ||
+ | |SS_BLACKFRAME|Box with frame drawn in same color as window frame\\ (default: black) | | ||
+ | |SS_GRAYFRAME|Box with frame drawn in same color as screen background\\ (desktop) (default: gray) | | ||
+ | |SS_WHITEFRAME|Bbox with frame drawn with same color as window\\ background (default: white) | | ||
+ | |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_NOTIFY|When user clicks on control, sends STN_CLICKED notification to form | | ||
+ | |||
+ | |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> | ||
+ | |||
+ | # | ||
+ | |||
+ | None | ||
+ | |||
+ | # | ||
+ | |||
+ | To add text, call ControlSetText. | ||
+ | |||
+ | # | ||
+ | |||
+ | None |