{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\{table:class=servoy sSummery}{colgroup}{column:width=80px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Method Summary{th}{tr}{tbody}{tr}{td}[CheckBox]{td}{td}[#addCheckBox]\(index)
Add the Checkbox at the selected index (starting at 0) or add it at the end (empty).{td}{tr}{tbody}{tbody}{tr}{td}[MenuItem]{td}{td}[#addItem]\(index)
Add the item at the selected index (starting at 0) or add it at the end (empty).{td}{tr}{tbody}{tbody}{tr}{td}[RadioButton]{td}{td}[#addRadioButton]\(index)
Add the Radiobutton at the selected index (starting at 0) or add it at the end (empty).{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#addRadioGroup]\()
Add a Radiogroup for the Radiobuttons.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#addSeparator]\(index)
Add the separator at the selected index (starting at 0) or add it at the end (empty).{td}{tr}{tbody}{tbody}{tr}{td}[Menu]{td}{td}[#addSubMenu]\(index)
Add the submenu at the selected index (starting at 0) or add it at the end (empty).{td}{tr}{tbody}{tbody}{tr}{td}[CheckBox]{td}{td}[#getCheckBox]\(index)
Get the Checkbox at the selected index (starting at 0).{td}{tr}{tbody}{tbody}{tr}{td}[MenuItem]{td}{td}[#getItem]\(index)
Get the item at the selected index (starting at 0).{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#getItemCount]\()
Get the number of items in the popup.{td}{tr}{tbody}{tbody}{tr}{td}[RadioButton]{td}{td}[#getRadioButton]\(index)
Get the Radiobutton at the selected index (starting at 0).{td}{tr}{tbody}{tbody}{tr}{td}[Menu]{td}{td}[#getSubMenu]\(index)
Get the submenu at the selected index (starting at 0).{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#removeAllItems]\()
Remove all items from the popup.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#removeItem]\(index 1, index 2-n)
Remove the item(s) at the selected index/indices.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#show]\(element, x, y)
Show the popup below the element or add x an y values relative to the element.{td}{tr}{tbody}{table}\\{table:class=servoy sDetail}{colgroup}{column:width=100%}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Method Details{th}{tr}{tbody:id=F08F9D52-29F7-434A-A7A2-CCDA3B5B87AE}{tr:id=name}{td}h6.addCheckBox{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[CheckBox]{span}{span:id=iets|style=float: left; font-weight: bold;}addCheckBox{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:F08F9D52-29F7-434A-A7A2-CCDA3B5B87AE_des|text=|trigger=button}{sub-section}{sub-section:F08F9D52-29F7-434A-A7A2-CCDA3B5B87AE_des|trigger=none|class=sIndent}Add the Checkbox at the selected index (starting at 0) or add it at the end (empty)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:F08F9D52-29F7-434A-A7A2-CCDA3B5B87AE_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:F08F9D52-29F7-434A-A7A2-CCDA3B5B87AE_prs|trigger=none}\[index\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:F08F9D52-29F7-434A-A7A2-CCDA3B5B87AE_ret|text=|trigger=button}{sub-section}{sub-section:F08F9D52-29F7-434A-A7A2-CCDA3B5B87AE_ret|trigger=none|class=sIndent}[CheckBox]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:F08F9D52-29F7-434A-A7A2-CCDA3B5B87AE_see|text=|trigger=button}{sub-section}{sub-section:F08F9D52-29F7-434A-A7A2-CCDA3B5B87AE_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:F08F9D52-29F7-434A-A7A2-CCDA3B5B87AE_see|text=|trigger=button}{sub-section}{sub-section:F08F9D52-29F7-434A-A7A2-CCDA3B5B87AE_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:F08F9D52-29F7-434A-A7A2-CCDA3B5B87AE_sam|text=|trigger=button}{sub-section}{sub-section:F08F9D52-29F7-434A-A7A2-CCDA3B5B87AE_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

return;

// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);

// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);

// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);

// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=A530E820-638B-4DFD-8501-DF127C820827}{tr:id=name}{td}h6.addItem{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[MenuItem]{span}{span:id=iets|style=float: left; font-weight: bold;}addItem{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:A530E820-638B-4DFD-8501-DF127C820827_des|text=|trigger=button}{sub-section}{sub-section:A530E820-638B-4DFD-8501-DF127C820827_des|trigger=none|class=sIndent}Add the item at the selected index (starting at 0) or add it at the end (empty)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:A530E820-638B-4DFD-8501-DF127C820827_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:A530E820-638B-4DFD-8501-DF127C820827_prs|trigger=none}\[index\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:A530E820-638B-4DFD-8501-DF127C820827_ret|text=|trigger=button}{sub-section}{sub-section:A530E820-638B-4DFD-8501-DF127C820827_ret|trigger=none|class=sIndent}[MenuItem]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:A530E820-638B-4DFD-8501-DF127C820827_see|text=|trigger=button}{sub-section}{sub-section:A530E820-638B-4DFD-8501-DF127C820827_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:A530E820-638B-4DFD-8501-DF127C820827_see|text=|trigger=button}{sub-section}{sub-section:A530E820-638B-4DFD-8501-DF127C820827_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:A530E820-638B-4DFD-8501-DF127C820827_sam|text=|trigger=button}{sub-section}{sub-section:A530E820-638B-4DFD-8501-DF127C820827_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

return;

// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);

// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);

// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);

// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=DF801893-4C18-4A99-AB93-480B43E2D9D1}{tr:id=name}{td}h6.addRadioButton{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[RadioButton]{span}{span:id=iets|style=float: left; font-weight: bold;}addRadioButton{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:DF801893-4C18-4A99-AB93-480B43E2D9D1_des|text=|trigger=button}{sub-section}{sub-section:DF801893-4C18-4A99-AB93-480B43E2D9D1_des|trigger=none|class=sIndent}Add the Radiobutton at the selected index (starting at 0) or add it at the end (empty)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:DF801893-4C18-4A99-AB93-480B43E2D9D1_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:DF801893-4C18-4A99-AB93-480B43E2D9D1_prs|trigger=none}\[index\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:DF801893-4C18-4A99-AB93-480B43E2D9D1_ret|text=|trigger=button}{sub-section}{sub-section:DF801893-4C18-4A99-AB93-480B43E2D9D1_ret|trigger=none|class=sIndent}[RadioButton]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:DF801893-4C18-4A99-AB93-480B43E2D9D1_see|text=|trigger=button}{sub-section}{sub-section:DF801893-4C18-4A99-AB93-480B43E2D9D1_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:DF801893-4C18-4A99-AB93-480B43E2D9D1_see|text=|trigger=button}{sub-section}{sub-section:DF801893-4C18-4A99-AB93-480B43E2D9D1_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:DF801893-4C18-4A99-AB93-480B43E2D9D1_sam|text=|trigger=button}{sub-section}{sub-section:DF801893-4C18-4A99-AB93-480B43E2D9D1_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

return;

// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);

// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);

// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);

// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=21E07E69-AF1D-475B-87E0-82EE68442B64}{tr:id=name}{td}h6.addRadioGroup{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}addRadioGroup{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:21E07E69-AF1D-475B-87E0-82EE68442B64_des|text=|trigger=button}{sub-section}{sub-section:21E07E69-AF1D-475B-87E0-82EE68442B64_des|trigger=none|class=sIndent}Add a Radiogroup for the Radiobuttons...{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:21E07E69-AF1D-475B-87E0-82EE68442B64_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:21E07E69-AF1D-475B-87E0-82EE68442B64_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:21E07E69-AF1D-475B-87E0-82EE68442B64_ret|text=|trigger=button}{sub-section}{sub-section:21E07E69-AF1D-475B-87E0-82EE68442B64_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:21E07E69-AF1D-475B-87E0-82EE68442B64_see|text=|trigger=button}{sub-section}{sub-section:21E07E69-AF1D-475B-87E0-82EE68442B64_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:21E07E69-AF1D-475B-87E0-82EE68442B64_see|text=|trigger=button}{sub-section}{sub-section:21E07E69-AF1D-475B-87E0-82EE68442B64_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:21E07E69-AF1D-475B-87E0-82EE68442B64_sam|text=|trigger=button}{sub-section}{sub-section:21E07E69-AF1D-475B-87E0-82EE68442B64_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

return;

// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);

// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);

// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);

// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=E45EA023-E5C0-4A3A-BB3D-6B6D5E4F6444}{tr:id=name}{td}h6.addSeparator{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}addSeparator{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:E45EA023-E5C0-4A3A-BB3D-6B6D5E4F6444_des|text=|trigger=button}{sub-section}{sub-section:E45EA023-E5C0-4A3A-BB3D-6B6D5E4F6444_des|trigger=none|class=sIndent}Add the separator at the selected index (starting at 0) or add it at the end (empty)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:E45EA023-E5C0-4A3A-BB3D-6B6D5E4F6444_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:E45EA023-E5C0-4A3A-BB3D-6B6D5E4F6444_prs|trigger=none}\[index\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:E45EA023-E5C0-4A3A-BB3D-6B6D5E4F6444_ret|text=|trigger=button}{sub-section}{sub-section:E45EA023-E5C0-4A3A-BB3D-6B6D5E4F6444_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:E45EA023-E5C0-4A3A-BB3D-6B6D5E4F6444_see|text=|trigger=button}{sub-section}{sub-section:E45EA023-E5C0-4A3A-BB3D-6B6D5E4F6444_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:E45EA023-E5C0-4A3A-BB3D-6B6D5E4F6444_see|text=|trigger=button}{sub-section}{sub-section:E45EA023-E5C0-4A3A-BB3D-6B6D5E4F6444_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:E45EA023-E5C0-4A3A-BB3D-6B6D5E4F6444_sam|text=|trigger=button}{sub-section}{sub-section:E45EA023-E5C0-4A3A-BB3D-6B6D5E4F6444_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

return;

// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);

// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);

// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);

// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=286395AA-1506-4D3D-9C33-250E5D6796A6}{tr:id=name}{td}h6.addSubMenu{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Menu]{span}{span:id=iets|style=float: left; font-weight: bold;}addSubMenu{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:286395AA-1506-4D3D-9C33-250E5D6796A6_des|text=|trigger=button}{sub-section}{sub-section:286395AA-1506-4D3D-9C33-250E5D6796A6_des|trigger=none|class=sIndent}Add the submenu at the selected index (starting at 0) or add it at the end (empty)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:286395AA-1506-4D3D-9C33-250E5D6796A6_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:286395AA-1506-4D3D-9C33-250E5D6796A6_prs|trigger=none}\[index\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:286395AA-1506-4D3D-9C33-250E5D6796A6_ret|text=|trigger=button}{sub-section}{sub-section:286395AA-1506-4D3D-9C33-250E5D6796A6_ret|trigger=none|class=sIndent}[Menu]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:286395AA-1506-4D3D-9C33-250E5D6796A6_see|text=|trigger=button}{sub-section}{sub-section:286395AA-1506-4D3D-9C33-250E5D6796A6_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:286395AA-1506-4D3D-9C33-250E5D6796A6_see|text=|trigger=button}{sub-section}{sub-section:286395AA-1506-4D3D-9C33-250E5D6796A6_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:286395AA-1506-4D3D-9C33-250E5D6796A6_sam|text=|trigger=button}{sub-section}{sub-section:286395AA-1506-4D3D-9C33-250E5D6796A6_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

return;

// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);

// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);

// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);

// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=DC4152FD-9B2C-4FF9-950D-F8CC5E20C1CB}{tr:id=name}{td}h6.getCheckBox{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[CheckBox]{span}{span:id=iets|style=float: left; font-weight: bold;}getCheckBox{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:DC4152FD-9B2C-4FF9-950D-F8CC5E20C1CB_des|text=|trigger=button}{sub-section}{sub-section:DC4152FD-9B2C-4FF9-950D-F8CC5E20C1CB_des|trigger=none|class=sIndent}Get the Checkbox at the selected index (starting at 0)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:DC4152FD-9B2C-4FF9-950D-F8CC5E20C1CB_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:DC4152FD-9B2C-4FF9-950D-F8CC5E20C1CB_prs|trigger=none}index
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:DC4152FD-9B2C-4FF9-950D-F8CC5E20C1CB_ret|text=|trigger=button}{sub-section}{sub-section:DC4152FD-9B2C-4FF9-950D-F8CC5E20C1CB_ret|trigger=none|class=sIndent}[CheckBox]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:DC4152FD-9B2C-4FF9-950D-F8CC5E20C1CB_see|text=|trigger=button}{sub-section}{sub-section:DC4152FD-9B2C-4FF9-950D-F8CC5E20C1CB_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:DC4152FD-9B2C-4FF9-950D-F8CC5E20C1CB_see|text=|trigger=button}{sub-section}{sub-section:DC4152FD-9B2C-4FF9-950D-F8CC5E20C1CB_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:DC4152FD-9B2C-4FF9-950D-F8CC5E20C1CB_sam|text=|trigger=button}{sub-section}{sub-section:DC4152FD-9B2C-4FF9-950D-F8CC5E20C1CB_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

return;

// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);

// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);

// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);

// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=DF0BFD77-F803-46A6-8F02-2AB58E38EB1C}{tr:id=name}{td}h6.getItem{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[MenuItem]{span}{span:id=iets|style=float: left; font-weight: bold;}getItem{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:DF0BFD77-F803-46A6-8F02-2AB58E38EB1C_des|text=|trigger=button}{sub-section}{sub-section:DF0BFD77-F803-46A6-8F02-2AB58E38EB1C_des|trigger=none|class=sIndent}Get the item at the selected index (starting at 0)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:DF0BFD77-F803-46A6-8F02-2AB58E38EB1C_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:DF0BFD77-F803-46A6-8F02-2AB58E38EB1C_prs|trigger=none}index
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:DF0BFD77-F803-46A6-8F02-2AB58E38EB1C_ret|text=|trigger=button}{sub-section}{sub-section:DF0BFD77-F803-46A6-8F02-2AB58E38EB1C_ret|trigger=none|class=sIndent}[MenuItem]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:DF0BFD77-F803-46A6-8F02-2AB58E38EB1C_see|text=|trigger=button}{sub-section}{sub-section:DF0BFD77-F803-46A6-8F02-2AB58E38EB1C_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:DF0BFD77-F803-46A6-8F02-2AB58E38EB1C_see|text=|trigger=button}{sub-section}{sub-section:DF0BFD77-F803-46A6-8F02-2AB58E38EB1C_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:DF0BFD77-F803-46A6-8F02-2AB58E38EB1C_sam|text=|trigger=button}{sub-section}{sub-section:DF0BFD77-F803-46A6-8F02-2AB58E38EB1C_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

return;

// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);

// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);

// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);

// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=DB399EB2-E4C2-447A-9BCA-B15F83409896}{tr:id=name}{td}h6.getItemCount{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Number]{span}{span:id=iets|style=float: left; font-weight: bold;}getItemCount{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:DB399EB2-E4C2-447A-9BCA-B15F83409896_des|text=|trigger=button}{sub-section}{sub-section:DB399EB2-E4C2-447A-9BCA-B15F83409896_des|trigger=none|class=sIndent}Get the number of items in the popup...{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:DB399EB2-E4C2-447A-9BCA-B15F83409896_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:DB399EB2-E4C2-447A-9BCA-B15F83409896_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:DB399EB2-E4C2-447A-9BCA-B15F83409896_ret|text=|trigger=button}{sub-section}{sub-section:DB399EB2-E4C2-447A-9BCA-B15F83409896_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:DB399EB2-E4C2-447A-9BCA-B15F83409896_see|text=|trigger=button}{sub-section}{sub-section:DB399EB2-E4C2-447A-9BCA-B15F83409896_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:DB399EB2-E4C2-447A-9BCA-B15F83409896_see|text=|trigger=button}{sub-section}{sub-section:DB399EB2-E4C2-447A-9BCA-B15F83409896_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:DB399EB2-E4C2-447A-9BCA-B15F83409896_sam|text=|trigger=button}{sub-section}{sub-section:DB399EB2-E4C2-447A-9BCA-B15F83409896_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

return;

// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);

// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);

// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);

// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=D3E9A6BC-531F-4364-9617-561334F40255}{tr:id=name}{td}h6.getRadioButton{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[RadioButton]{span}{span:id=iets|style=float: left; font-weight: bold;}getRadioButton{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:D3E9A6BC-531F-4364-9617-561334F40255_des|text=|trigger=button}{sub-section}{sub-section:D3E9A6BC-531F-4364-9617-561334F40255_des|trigger=none|class=sIndent}Get the Radiobutton at the selected index (starting at 0)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:D3E9A6BC-531F-4364-9617-561334F40255_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:D3E9A6BC-531F-4364-9617-561334F40255_prs|trigger=none}index
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:D3E9A6BC-531F-4364-9617-561334F40255_ret|text=|trigger=button}{sub-section}{sub-section:D3E9A6BC-531F-4364-9617-561334F40255_ret|trigger=none|class=sIndent}[RadioButton]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:D3E9A6BC-531F-4364-9617-561334F40255_see|text=|trigger=button}{sub-section}{sub-section:D3E9A6BC-531F-4364-9617-561334F40255_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:D3E9A6BC-531F-4364-9617-561334F40255_see|text=|trigger=button}{sub-section}{sub-section:D3E9A6BC-531F-4364-9617-561334F40255_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:D3E9A6BC-531F-4364-9617-561334F40255_sam|text=|trigger=button}{sub-section}{sub-section:D3E9A6BC-531F-4364-9617-561334F40255_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

return;

// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);

// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);

// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);

// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=55E553D2-C9EB-4EE4-8B7F-C39B81825F07}{tr:id=name}{td}h6.getSubMenu{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}[Menu]{span}{span:id=iets|style=float: left; font-weight: bold;}getSubMenu{span}{span:id=iets|style=float: left;}\(index){span}{td}{tr}{tr:id=des}{td}{sub-section:55E553D2-C9EB-4EE4-8B7F-C39B81825F07_des|text=|trigger=button}{sub-section}{sub-section:55E553D2-C9EB-4EE4-8B7F-C39B81825F07_des|trigger=none|class=sIndent}Get the submenu at the selected index (starting at 0)...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:55E553D2-C9EB-4EE4-8B7F-C39B81825F07_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:55E553D2-C9EB-4EE4-8B7F-C39B81825F07_prs|trigger=none}index
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:55E553D2-C9EB-4EE4-8B7F-C39B81825F07_ret|text=|trigger=button}{sub-section}{sub-section:55E553D2-C9EB-4EE4-8B7F-C39B81825F07_ret|trigger=none|class=sIndent}[Menu]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:55E553D2-C9EB-4EE4-8B7F-C39B81825F07_see|text=|trigger=button}{sub-section}{sub-section:55E553D2-C9EB-4EE4-8B7F-C39B81825F07_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:55E553D2-C9EB-4EE4-8B7F-C39B81825F07_see|text=|trigger=button}{sub-section}{sub-section:55E553D2-C9EB-4EE4-8B7F-C39B81825F07_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:55E553D2-C9EB-4EE4-8B7F-C39B81825F07_sam|text=|trigger=button}{sub-section}{sub-section:55E553D2-C9EB-4EE4-8B7F-C39B81825F07_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

return;

// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);

// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);

// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);

// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=28D794A4-31B8-4E88-9CE8-6864DA3C48C5}{tr:id=name}{td}h6.removeAllItems{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}removeAllItems{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:28D794A4-31B8-4E88-9CE8-6864DA3C48C5_des|text=|trigger=button}{sub-section}{sub-section:28D794A4-31B8-4E88-9CE8-6864DA3C48C5_des|trigger=none|class=sIndent}Remove all items from the popup...{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:28D794A4-31B8-4E88-9CE8-6864DA3C48C5_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:28D794A4-31B8-4E88-9CE8-6864DA3C48C5_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:28D794A4-31B8-4E88-9CE8-6864DA3C48C5_ret|text=|trigger=button}{sub-section}{sub-section:28D794A4-31B8-4E88-9CE8-6864DA3C48C5_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:28D794A4-31B8-4E88-9CE8-6864DA3C48C5_see|text=|trigger=button}{sub-section}{sub-section:28D794A4-31B8-4E88-9CE8-6864DA3C48C5_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:28D794A4-31B8-4E88-9CE8-6864DA3C48C5_see|text=|trigger=button}{sub-section}{sub-section:28D794A4-31B8-4E88-9CE8-6864DA3C48C5_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:28D794A4-31B8-4E88-9CE8-6864DA3C48C5_sam|text=|trigger=button}{sub-section}{sub-section:28D794A4-31B8-4E88-9CE8-6864DA3C48C5_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

return;

// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);

// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);

// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);

// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=5C98FF30-0EA2-4931-BE02-8CDA56F13E70}{tr:id=name}{td}h6.removeItem{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}removeItem{span}{span:id=iets|style=float: left;}\(index 1, index 2-n){span}{td}{tr}{tr:id=des}{td}{sub-section:5C98FF30-0EA2-4931-BE02-8CDA56F13E70_des|text=|trigger=button}{sub-section}{sub-section:5C98FF30-0EA2-4931-BE02-8CDA56F13E70_des|trigger=none|class=sIndent}Remove the item(s) at the selected index/indices...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:5C98FF30-0EA2-4931-BE02-8CDA56F13E70_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:5C98FF30-0EA2-4931-BE02-8CDA56F13E70_prs|trigger=none}index 1
\[index 2-n\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:5C98FF30-0EA2-4931-BE02-8CDA56F13E70_ret|text=|trigger=button}{sub-section}{sub-section:5C98FF30-0EA2-4931-BE02-8CDA56F13E70_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:5C98FF30-0EA2-4931-BE02-8CDA56F13E70_see|text=|trigger=button}{sub-section}{sub-section:5C98FF30-0EA2-4931-BE02-8CDA56F13E70_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:5C98FF30-0EA2-4931-BE02-8CDA56F13E70_see|text=|trigger=button}{sub-section}{sub-section:5C98FF30-0EA2-4931-BE02-8CDA56F13E70_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:5C98FF30-0EA2-4931-BE02-8CDA56F13E70_sam|text=|trigger=button}{sub-section}{sub-section:5C98FF30-0EA2-4931-BE02-8CDA56F13E70_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

return;

// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);

// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);

// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);

// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=2A41C176-2CF7-4860-8507-AFA3371745FC}{tr:id=name}{td}h6.show{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}show{span}{span:id=iets|style=float: left;}\(element, x, y){span}{td}{tr}{tr:id=des}{td}{sub-section:2A41C176-2CF7-4860-8507-AFA3371745FC_des|text=|trigger=button}{sub-section}{sub-section:2A41C176-2CF7-4860-8507-AFA3371745FC_des|trigger=none|class=sIndent}Show the popup below the element or add x an y values relative to the element...{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:2A41C176-2CF7-4860-8507-AFA3371745FC_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:2A41C176-2CF7-4860-8507-AFA3371745FC_prs|trigger=none}element
\[x\]
\[y\]
{sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:2A41C176-2CF7-4860-8507-AFA3371745FC_ret|text=|trigger=button}{sub-section}{sub-section:2A41C176-2CF7-4860-8507-AFA3371745FC_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:2A41C176-2CF7-4860-8507-AFA3371745FC_see|text=|trigger=button}{sub-section}{sub-section:2A41C176-2CF7-4860-8507-AFA3371745FC_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:2A41C176-2CF7-4860-8507-AFA3371745FC_see|text=|trigger=button}{sub-section}{sub-section:2A41C176-2CF7-4860-8507-AFA3371745FC_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:2A41C176-2CF7-4860-8507-AFA3371745FC_sam|text=|trigger=button}{sub-section}{sub-section:2A41C176-2CF7-4860-8507-AFA3371745FC_sam|class=sIndent|trigger=none}{code:language=javascript}
// create a popup that will show at the right click event of the selected element(s)
// an element can be a field, label, button and even a bean
var popup = plugins.menubar.setPopup(elements.field, elements.label, elements.panel);

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

return;

// create a (normal) popup at the 'on action' event of the button
// in this case the popup is created after clicking/selecting the button.
var popup = plugins.menubar.setPopup();

// you can add a menuitem, checkbox, radiobutton (group) like
// you would with a 'normal' menu. The result from the method you call is also
// the same

// when you don't define an index the item will be added at the last position
// this is what you usually do to build a new popup
var item = popup.addItem();

// create the settings for the specified menu item
// minimum settings are the text and method properties
// the method can be a global or form method
// be sure to enter the method WITHOUT '()' at the end
item.set("item",feedback);

var checkbox = popup.addCheckBox();

checkbox.set("checkbox",feedback);

popup.addRadioGroup();

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 1",feedback);

var radiobutton = popup.addRadioButton();

radiobutton.set("radiobutton 2",feedback);

// add a (first) submenu
var submenu1 = popup.addSubMenu();
submenu1.set("submenu 1");
submenu1.addItem().set("sub item 1",feedback);

// add a (second) submenu
var submenu2 = popup.addSubMenu();
submenu2.set("submenu 2");
submenu2.addItem().set("sub item 2",feedback);

// after creating the complete popup you probably want to show it
// you need to add the element that you want to show the popup at
// by default the popup will show left aligned with the element and
// direct under the element
popup.show(elements.add_normal_popup);

// show the popup menu related to the selected element
// the optional x and y arguments change the location of the popup
// relative to the element.
// popup.show(elements.add_normal_popup, 5, -10);
{code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}