====== Icon ====== {{page>commctrl}} {{page>commstyle}} {|class="cboxtable" |- |class="cboxcell1"|{{ control_icon.gif |}} |class="cboxcell2"|**TAIcon** |} Creates an icon control #remarks_header[Properties:]# |**ContextMenu**|{{KODA>VAR>ContextMenu}} | |**Cursor**|{{KODA>VAR>Cursor}} | |**Enabled**|False generates GUICtrlSetState(-1, $GUI_DISABLE) | |**Left,Top**|{{KODA>VAR>Left,Top}} | |**Width,Height**|{{KODA>VAR>Width,Height}} | |**Hint**|Text that appears when cursor hovers over control. Generates call to GUICtrlSetTip | |**Name**|{{KODA>VAR>Name}} | |**OnClick**|{{KODA>VAR>StdEvent}} | |**Picture**|{{KODA>VAR>Picture}} | |**Stretch**|{{KODA>VAR>Stretch_Pic}} | |**Resizing**|{{KODA>VAR>Resizing}} | |**TabOrder**|Sequence in which controls are selected with the Tab and S-Tab keys. For a Form and for each Group, TabOrder starts with 0. You may prefer to use the TabOrder Visual Editor: press C-t to open it. | |**Visible**|If False, generates GUICtrlSetState(-1, $GUI_HIDE) | #remarks_header[Styles:]# |SS_NOTIFY|When user clicks on control, sends STN_CLICKED notification to form | |SS_CENTERIMAGE|Center an image in the control, even when form is resized | |SS_RIGHTJUST|When form is resized or image is changed, only top and right sides of the control move | |SS_SUNKEN|Half-sunken border | |WS_TABSTOP|Control can be selected with Tab and S-Tab | |WS_HSCROLL|{{KODA>VAR>WS_HSCROLL}} | |WS_VSCROLL| {{KODA>VAR>WS_VSCROLL}}| |WS_BORDER|{{KODA>VAR>WS_BORDER}} | |WS_CLIPSIBLINGS|{{KODA>VAR>WS_CLIPSIBLINGS}} | #remarks_header[Extra Styles:]# |WS_EX_CLIENTEDGE|{{KODA>VAR>WS_EX_CLIENTEDGE}}| |WS_EX_STATICEDGE|{{KODA>VAR>WS_EX_STATICEDGE}} | #remarks_header[Remarks:]# None #remarks_header[Related:]# None