Dialogs.ShowEditBox Method

DialogsShowEditBox Method

Display dialog prompting the user to enter a string.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static bool ShowEditBox(
	string title,
	string message,
	string defaultText,
	bool multiline,
	out string text
)
Public Shared Function ShowEditBox ( 
	title As String,
	message As String,
	defaultText As String,
	multiline As Boolean,
	<OutAttribute> ByRef text As String
) As Boolean

Parameters

title
Type: SystemString

[Missing <param name="title"/> documentation for "M:Rhino.UI.Dialogs.ShowEditBox(System.String,System.String,System.String,System.Boolean,System.String@)"]

message
Type: SystemString

[Missing <param name="message"/> documentation for "M:Rhino.UI.Dialogs.ShowEditBox(System.String,System.String,System.String,System.Boolean,System.String@)"]

defaultText
Type: SystemString

[Missing <param name="defaultText"/> documentation for "M:Rhino.UI.Dialogs.ShowEditBox(System.String,System.String,System.String,System.Boolean,System.String@)"]

multiline
Type: SystemBoolean

[Missing <param name="multiline"/> documentation for "M:Rhino.UI.Dialogs.ShowEditBox(System.String,System.String,System.String,System.Boolean,System.String@)"]

text
Type: SystemString

[Missing <param name="text"/> documentation for "M:Rhino.UI.Dialogs.ShowEditBox(System.String,System.String,System.String,System.Boolean,System.String@)"]

Return Value

Type: Boolean
True if the dialog was closed with the OK button. False if the dialog was closed with escape.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also