input__banner | string | Stores banner text. |
input__colors | table | Color table. |
input__colors.text | number | Text color. |
input__colors.back | number | Blurred background color. |
input__colors.focus | number | Focused background color. |
input__colors.error | number | Error state background color. |
input__colors.banner | number | Banner text color. |
input__end | number | Selection end position. |
input__error | boolean | Error state flag. |
input__hOrg | number | Horizontal scroll position. |
input__mask_char | string | Stores mask character. |
input__maxLen | number | Stores maximum character length. |
input__old_text | string | Used to test for changes. |
input__start | number | Selection start position. |
parent | window | Parent window, typically a frame. |
id | number | Numeric id value for input window. |
x | number | Parent relative x position. |
y | number | Parent relative y position. |
width | number | Input window width. |
text | string/nil | Initial input text. Initially empty if omitted or nil. |
banner | string/nil | Banner text, none if omitted or nil. |
input | inputWindow | The instantiated input window. |
none |
none |
none |
none |
gdi | GDI | GDI object to use for drawing. |
bounds | rect | Invalidated area of the window. |
none |
none |
banner | string | The banner text. |
none |
state | boolean | True if the control is in error state, false if not. |
none |
char | string | The mask character. "" if none set. |
none |
len |
number | Maximum character length. Zero if no limit. |
normalize | boolean | If true the returned values are ensured start before end, otherwise they are returned as is. |
start | number | The start selection position. |
end | number | The end selection position. |
none |
text |
string | The currently selected text. "" if no selection. |
focused | window | The window gaining focus, it may be nil. |
result | boolean | Always false. |
char | string | Single character string; the character input by user. |
ascii | number |
The character code of the input character. |
result | boolean | Always true. |
text | string | The text data to paste. |
result | boolean | Always true. |
blurred | window | The window losing focus, it may be nil. |
result | boolean | Always false. |
key | number | Key code. |
ctrl | boolean | True if control key is depressed. |
alt | boolean | True if alternate key is depressed. |
shift | boolean | True if shift key is depressed. |
result | boolean | True if a key was actioned, false if not. |
x | number | Window relative x position. |
y | number | Window relative y position. |
count | number | The number of times this same position was repeatedly clicked, with each successive click within the double_click_time. |
result | boolean | Always true. |
x | number | Window relative x position. |
y | number | Window relative y position. |
result | boolean | Always true. |
none |
result | boolean | Always false. |
x | number | Window relative x position. |
y | number | Window relative y position. |
result | boolean | Always true. |
none |
none |
replace_text | string | The replacement text. If "" or nil the currently selected range is deleted. |
auto_scroll |
boolean | If not false the selection end position is scrolled into the window's view if needed after the operation. |
none |
banner | string/nil | Banner text, nil or "" for none. |
none |
text | number | Text color. |
background | number | Blurred background color. |
focus | number | Focused background color. |
banner | number | Banner text color. |
error_color | number | Error state background color. |
none |
state | boolean | True for error state, false for not. |
none |
char | string/nil | Mask character, nil or "" for none. |
none |
len |
number | Maximum character length, less than 1 or nil for no limit. |
none |
sel_start | number | The selection start character. |
sel_end | number | The selection end character. If nil sel_start is used. If -1 the end of the text in the control is used. |
auto_scroll | boolean | If not false the selection end position is scrolled into the window's view if needed. |
none |
text | string | The text to replace the control's entire contents. |
none |