Grasshopper API
GH_MenuTextBox Constructor |
Constructor for TextBox collection.
Namespace: Grasshopper.GUI
Assembly: Grasshopper (in Grasshopper.dll)
public GH_MenuTextBox( ToolStripDropDown nDropDown, string nText, bool bLockFocus )
Public Sub New ( nDropDown As ToolStripDropDown, nText As String, bLockFocus As Boolean )
Parameters
- nDropDown
- Type: System.Windows.FormsToolStripDropDown
The menu dropdown into which to embed this textbox control. - nText
- Type: SystemString
The original text to be displayed in the textbox. - bLockFocus
- Type: SystemBoolean
If True, the control will disable the other menu items when it gets focus.