The intrinsic Text control is used as an input device to receive text. It is quite similar to the TextBox control in Visual Basic. The intrinsic Text control is implemented with the <INPUT> tag.
NAME | A string representing the name of the Text control |
VALUE | A string representing the default value of the control |
SIZE | An integer representing the length of the control in characters |
MAXLENGTH | An integer representing the maximum number of characters allowed in the control |
OnFocus | Fires when the control receives the focus |
OnBlur | Fires when the control loses the focus |
OnSelect | Fires when the contents of the control are selected |
OnChange | Fires when the control is changed |
<INPUT TYPE="TEXT" [NAME="string"] [VALUE="string"]
[SIZE="integer"] [MAXLENGTH="integer"] [OnFocus="subroutine"] [OnBlur="subroutine"] [OnSelect="subroutine"][OnChange=" subroutine"]>
<FORM>
<INPUT TYPE="TEXT" NAME="Text1" VALUE="Default Text" SIZE="50" MAXLENGTH="30">
</FORM>