User Tools

Site Tools


koda:en:documentation:control_graphic

Differences

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] (current)
Line 1: Line 1:
 +====== Graphic ======
 +{{page>​commctrl}}
 +{{page>​commstyle}}
 +{|class="​cboxtable"​
 +|-
 +|class="​cboxcell1"​|{{ ​ control_graphic.gif ​ |}}
 +|class="​cboxcell2"​|**TAGraphic**
 +|}
  
 +Creates a graphic control
 +
 +#​remarks_header[Properties:​]#​
 +|**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>​ |
 +
 +#​remarks_header[Styles:​]#​
 +
 +|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 <​key>​Tab</​key>​ and <​key>​S-Tab</​key>​ |
 +|WS_HSCROLL|{{KODA>​VAR>​WS_HSCROLL}} |
 +|WS_VSCROLL|{{KODA>​VAR>​WS_VSCROLL}} |
 +|WS_VISIBLE|{{KODA>​VAR>​WS_VISIBLE}} |
 +|WS_BORDER|{{KODA>​VAR>​WS_BORDER}} |
 +|WS_CLIPSIBLINGS|{{KODA>​VAR>​WS_CLIPSIBLINGS}} |
 +
 +#​remarks_header[Extra Styles:]#
 +
 +None
 +
 +#​remarks_header[Remarks:​]#​
 +
 +To add text, call ControlSetText.
 +
 +#​remarks_header[Related:​]#​
 +
 +None
koda/en/documentation/control_graphic.txt ยท Last modified: 2014/07/10 10:48 (external edit)