AddTextField Method
Adds a single-line input field to the dialog box.
object.AddTextField
aname, label, size, text, maxlength
Arguments
|
object |
|
Required. A
variable containing a dialog object created by calling CreateObject or
new ActiveXControl. |
|
aname |
|
Required. A name for this input field. |
|
label |
|
Required. The text for the label that will
appear to the left of the input field. |
|
size |
|
Required. The number of characters wide that
the input field will appear. |
|
text |
|
Optional. The default text of the input field. |
|
maxlength |
|
Optional. The maximum number of characters
that can appear in the input field. |
Remarks
To add a multi-line text field to the dialog box, use AddTextArea.
Example
See Text and Password Input Fields in VBScript. |