- Foreword
- Basics
- Interface
- Menu
- File
- Import
- Edit
- View
- Options
- Options
- Tools
- Help
- Windows & Dialogs
- Controls
- Standard
- Additional
- Win32
-
- Property Editors
- Appendices
{|class=“cboxtable”
class=“cboxcell1” |
class=“cboxcell2” |
Creates a single-line input control
#remarks_header[Properties:]#
Color | Background color of control. Choose from the list, or enter your own. Format is 0xnumber where number is 6 hexadecimal digits: 2 for blue, 2 for green and 2 for red |
Cursor | Cursor shape to display when mouse is over this control |
Enabled | False generates <color blue>GUICtrlSetState(-1, $GUI_DISABLE)</color> |
Font | Double-click to the right to open the Font dialog. Click on + to show the Color, Name, Size and Style properties |
Left,Top | Position of control relative to its parent |
Width,Height | Size of control in pixels |
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 | Name of control and of the variable that is assigned its control ID in generated code. If not specified, no variable is generated |
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 Events Editor |
Resizing | Click on + to expand resize modes: DocAuto - resize and reposition according to new window size DocRight - Do not move right side DocLeft - Do not move left side DocTop - Do not move top DocBottom - Do not move bottom DocHCenter - Horizontal center remains fixed DocVCenter - Vertical center remains fixed DocWidth - Width does not change DocHeight - Height does not change |
TabOrder | Sequence in which controls are selected with the Tab and Shift+Tab keys. For a Form and for each Group, TabOrder starts with 0. You may prefer to use the TabOrder Visual Editor: press Ctrl+T 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 Tab and Shift+Tab |
WS_HSCROLL | Control has horizontal scroll bar |
WS_VISIBLE | Control is visible |
WS_BORDER | Control has a thin-line border |
WS_CLIPSIBLINGS | If this control overlaps with another, this control shows partially |
#remarks_header[Extra Styles:]#
WS_EX_CLIENTEDGE | Control has border with sunken edge |
WS_EX_STATICEDGE | Control has a three-dimensional border |
#remarks_header[Remarks:]#
None
#remarks_header[Related:]#
None