====== Pic ======
{{page>commctrl}}
{{page>commstyle}}
{|class="cboxtable"
|-
|class="cboxcell1"|{{ control_pic.gif |}}
|class="cboxcell2"|**TAPic**
|}
Creates a picture 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**|Generates (in Message Loop mode) a Case or (in OnEvent mode) a call to GUISetOnEvent and a skeleton event function. Double-click to right to open [[koda:documentation:proped_events_editor]] |
|**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 [[dialog_tab_order_editor|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. If form is made smaller, image may be clipped. |
|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}} |
|GUI_EX_PARENTDRAG|Allows control to be used as the title bar to drag the whole parent window |
#remarks_header[Remarks:]#
None
#remarks_header[Related:]#
None