guiTextBoxCreate (Function) |
Top Previous Next |
This function creates a new text box on the provided form. Text boxes are used to allow the user to enter a text string, which triggers the text box changed event. Clicking the text box shows a dialog to change the text string, using the same keyboard as guiShowTextInput.
Input: form : SYSHANDLE A handle to the form that the text box is created on.
x : SINT default 1 The horizontal location of the text box.
y : SINT default 1 The vertical location of the text box.
w : SINT default 1 The width of the text box.
h : SINT default 1 The height of the text box.
tag : DINT The tag value to store.
text : STRING The initial value of the text box.
max_len : INT (1..254) default 20 The maximum length of the string.
Output: text_box : SYSHANDLE The handle to the new text box.
Returns: INT
Declaration: FUNCTION guiTextBoxCreate : INT;
Example: INCLUDE rtcu.inc |