User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

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 ======
 +|class="​cboxcell1"​|{{ ​ control_graphic.gif ​ |}}
 +Creates a graphic control
 +|**Align**|{{KODA>​VAR>​Align}} |
 +|**BgColor**|{{KODA>​VAR>​Color}} |
 +|**Color**|{{KODA>​VAR>​Color_Fore}} |
 +|**ContextMenu**|{{KODA>​VAR>​ContextMenu}} |
 +|**Cursor**|{{KODA>​VAR>​Cursor}} |
 +|**Enabled**|False generates <color blue>​GUICtrlSetState(-1,​ $GUI_DISABLE)</​color>​ |
 +|**Left,​Top**|{{KODA>​VAR>​Left,​Top}} |
 +|**Width,​Height**|{{KODA>​VAR>​Width,​Height}} |
 +|**Hint**|Text that appears when cursor hovers over control. Generates call to <color blue>​GUICtrlSetTip</​color>​ |
 +|**Items**|Shapes that form the graphic. Double-click to right to open [[proped_graphic_editor]].|
 +|**Name**|{{KODA>​VAR>​Name}} |
 +|**OnClick**|{{KODA>​VAR>​StdEvent}} |
 +|**Resizing**|{{KODA>​VAR>​Resizing}} |
 +|**TabOrder**|Sequence in which controls are selected with the <​key>​Tab</​key>​ and <​key>​S-Tab</​key>​ keys. For a Form and for each Group, TabOrder starts with 0. You may prefer to use the [[dialog_tab_order_editor|TabOrder Visual Editor]]: press <​key>​C-t</​key>​ to open it. |
 +|**Visible**|If False, generates <color blue>​GUICtrlSetState(-1,​ $GUI_HIDE)</​color>​ |
 +|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_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 <​key>​Tab</​key>​ and <​key>​S-Tab</​key>​ |
 +#​remarks_header[Extra Styles:]#
 +To add text, call ControlSetText.
koda/en/documentation/control_graphic.txt ยท Last modified: 2014/07/10 10:48 (external edit)