Click or drag to resize

GH_TextBoxInputBaseShowTextInputBox Method (Control, String, Boolean, Boolean)

Display a floating text-box on top of the owner control.

Namespace:  Grasshopper.GUI.Base
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public void ShowTextInputBox(
	Control owner,
	string content,
	bool selectContent,
	bool limitToBoundary
)

Parameters

owner
Type: System.Windows.FormsControl
Control that owns this slider. The coordinates of the Bounds rectangle must be specified in owner coordinates.
content
Type: SystemString
selectContent
Type: SystemBoolean
limitToBoundary
Type: SystemBoolean
If True, the pop up input box will be 'clipped' to the owner boundary. At least some part of the slider must be visible for this to work.
See Also