Click or drag to resize

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
)

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 WIP

Rhino for Windows

Supported in: 6.1 BETA
See Also