AddTextArea Method
Adds a multi-line input field to the dialog box.
object.AddTextArea
aname, label, cols, rows, text, wrap
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. |
|
cols |
|
Optional.
The number of columns wide that the text area will appear. |
|
rows |
|
Optional. The number of rows high that the
input field will appear. |
|
text |
|
Optional. The default text of the input field. |
|
wrap |
|
Optional. This parameter controls whether
text wraps around to the next line the text area and whether these "soft"
returns should be converted to "hard" carriage returns. Recognized
values are hard, off, physical,
and virtual. |
Remarks
Use AddTextArea to allow users to enter or edit multiple lines of text.
Example
See Text and Password Input Fields in VBScript. |