EditBox

Displays a dialog box prompting the user to enter a string value.  The string value may span multiple lines.

Syntax

Rhino.EditBox ([strString [, strMessage [, strTitle [, arrPos]]]])

Parameters

strString

Optional.  String.  A default string value.

strMessage

Optional.  String.  A prompt or message.

strTitle

Optional.  String.  A dialog box  title.

arrPos

Optional.  Array.  A 2-D screen point that identifies the upper left corner of the dialog's initial position.

Returns

String

Multiple lines that are separated by carriage return-linefeed combinations if successful.

Null

If not successful, or on error.

Example

Dim strText

strText = Rhino.EditBox(, "Enter some text")

If Not IsNull(strText) Then

MsgBox strText

End If

 

editbox.jpg

 

Also See

GetString

StringBox