TEXTBOX #handle.ext, xpos, ypos, wide, high

The textbox command adds a single item, single line text entry control to a window.  It is useful for generating forms and getting small amounts of user input in the form of text.

print #handle.ext, "a string"
This sets the contents of the textbox to be "a string".  Any previous contents of the textbox are overwritten.  To clear a textbox of text, print a blank string to it.

print #handle.ext, "!contents? varName$";
This retrieves the contents of the textbox and places them into the variable, varName$.

print #handle, "!font fontName pointsize" ;

print #handle.ext, "!setfocus"; - textbox receives the input focus.

print #handle.ext, "!enable" - This causes the control to be enabled.

print #handle.ext, "!disable" - control is inactive and grayed-out. 


