Click or drag to resize

GH_DocumentObjectMenu_AppendDigitScrollerItem Method

Utility function for inserting a digit scroller into menus.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static GH_DigitScrollerBase Menu_AppendDigitScrollerItem(
	ToolStripDropDown menu,
	decimal min,
	decimal max,
	decimal value,
	int decimals
)

Parameters

menu
Type: System.Windows.FormsToolStripDropDown
min
Type: SystemDecimal
max
Type: SystemDecimal
value
Type: SystemDecimal
decimals
Type: SystemInt32

Return Value

Type: GH_DigitScrollerBase
The digit scroller object that was inserted into the menu.
See Also