User Tools

Site Tools


koda:en:documentation:control_input

Differences

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

Link to this comparison view

koda:en:documentation:control_input [2014/07/10 10:48] (current)
Line 1: Line 1:
 +====== Input ======
 +{{page>commctrl}}
 +{{page>commstyle}}
 +{|class="cboxtable"
 +|-
 +|class="cboxcell1"|{{  control_input.gif  |}}
 +|class="cboxcell2"|**TAInput**
 +|}
 +
 +Creates a single-line input control
 +
 +#remarks_header[Properties:]#
 +
 +|**Color**|{{KODA>VAR>Color}} |
 +|**Cursor**|{{KODA>VAR>Cursor}} |
 +|**Enabled**|False generates <color blue>GUICtrlSetState(-1, $GUI_DISABLE)</color> |
 +|**Font**|{{KODA>VAR>Font}} |
 +|**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> |
 +|**MaxLength**|Maximum length of entry. 0 for unlimited |
 +|**Name**|{{KODA>VAR>Name}} |
 +|**OnChange**|Generates (in Message Loop mode) a <color blue>Case</color>  or (in OnEvent mode) a call to <color blue>GUISetOnEvent</color> and a skeleton event function. Double-click to right to open [[koda:documentation:proped_events_editor]]  |
 +|**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. |
 +|**Text**|Text to display initially |
 +|**Updown**|UpDown control to attach |
 +|**Visible**|If False, generates  <color blue>GUICtrlSetState(-1, $GUI_HIDE)</color>  |
 +
 +#remarks_header[Styles:]#
 +
 +|ES_LEFT|Left-aligns text |
 +|ES_CENTER|Center-aligns text |
 +|ES_RIGHT|Right-aligns text |
 +|ES_UPPERCASE|Text is upper-cased |
 +|ES_LOWERCASE|Text is lower-cased |
 +|ES_PASSWORD|Displays an asterisk (*) for each character that is typed  |
 +|ES_AUTOHSCROLL|When user enters characters beyond width of control, text\\ automatically scrolls |
 +|ES_NOHIDESEL|Retains highlighting of selected text when control loses focus |
 +|ES_OEMCONVERT|Ensures proper conversion of characters entered into control|
 +|ES_READONLY| Prevents changing the text|
 +|ES_NUMBER|Restricts entered characters to digits |
 +|WS_TABSTOP|Control can be selected with <key>Tab</key> and <key>S-Tab</key> |
 +|WS_HSCROLL|{{KODA>VAR>WS_HSCROLL}} |
 +|WS_VISIBLE|{{KODA>VAR>WS_VISIBLE}} |
 +|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
  
koda/en/documentation/control_input.txt ยท Last modified: 2014/07/10 10:48 (external edit)