Child pages
  • ToolBar

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
{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}void{td}{td}[#addButton]\(text, method, arguments, icon, tooltip, enabled, visible) Add a Button to the toolbar.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#addCheckBox]\(text, method, selected, tooltip, enabled, visible) Add a CheckBox to the toolbar.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#addComboBox]\(method, index, input, tooltip, enabled, visible) Add a ComboBox to the toolbar.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#addField]\(method, text, tooltip, enabled, visible) Add a Field to the toolbar.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#addSeparator]\() Add a Separator to the toolbar.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#enableItem]\() {td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#removeAllItems]\() Remove all Buttons, Checkboxes etc.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#removeItem]\(index) Remove a Button, CheckBox, ComboBox from the toolbar.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#selectCheckBox]\(index, boolean) Set the CheckBox selection.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#selectComboBox]\(index, rowindex) Select a row of the ComboBox via the index.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#setFieldText]\(index, text) Set a (default) text of the field at the given index.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#validate]\() You need to call this method after adding or removing items to/from the toolbar.{td}{tr}{tbody}{tbody}{tr}{td}void{td}{td}[#visibleItem]\() {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=800C4CA0-45E6-4FE4-B1D1-BA07C626AB29}{tr:id=name}{td}h6.addButton{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}addButton{span}{span:id=iets|style=float: left;}\(text, method, arguments, icon, tooltip, enabled, visible){span}{td}{tr}{tr:id=des}{td}{sub-section:800C4CA0-45E6-4FE4-B1D1-BA07C626AB29_des|text=|trigger=button}{sub-section}{sub-section:800C4CA0-45E6-4FE4-B1D1-BA07C626AB29_des|trigger=none|class=sIndent}
Wiki Markup
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClient

servoy sSummary12%30%58%height: 30px;3Methods SummaryvoidAdd a Button to the toolbar.voidAdd a Button to the toolbar.voidAdd a Button to the toolbar.voidAdd a Button to the toolbar.voidAdd a Button to the toolbar.voidAdd a Button to the toolbar.voidAdd a CheckBox to the toolbar.voidAdd a CheckBox to the toolbar.voidAdd a CheckBox to the toolbar.voidAdd a CheckBox to the toolbar.voidAdd a CheckBox to the toolbar.voidAdd a ComboBox to the toolbar.voidAdd a ComboBox to the toolbar.voidAdd a ComboBox to the toolbar.voidAdd a ComboBox to the toolbar.voidAdd a Field to the toolbar.voidAdd a Field to the toolbar.voidAdd a Field to the toolbar.voidAdd a Field to the toolbar.voidAdd a Field to the toolbar.voidAdd a Separator to the toolbar.voidEnable/disable the item at the specified index.voidRemove all Buttons, Checkboxes etc.voidRemove a Button, CheckBox, ComboBox from the toolbar.voidSet the CheckBox selection.voidSelect a row of the ComboBox via the index.voidSet a (default) text of the field at the given index.voidMake the item at the specified index visible/invisible.

functionservoy sDetail2100%height:30px2Methods DetailsaddButtonname

addButton(text, method)

dessIndent
Add a Button to the toolbar.
prs

Parameters

sIndenttext ;method ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRowaddButtonname

addButton(text, method, arguments)

dessIndent
Add a Button to the toolbar.
{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:800C4CA0-45E6-4FE4-B1D1-BA07C626AB29_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:800C4CA0-45E6-4FE4-B1D1-BA07C626AB29_prs|trigger=none}text method \[arguments\] \[icon\] \[tooltip\] \[enabled\] \[visible\] {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:800C4CA0-45E6-4FE4-B1D1-BA07C626AB29_ret|text=|trigger=button}{sub-section}{sub-section:800C4CA0-45E6-4FE4-B1D1-BA07C626AB29_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:800C4CA0-45E6-4FE4-B1D1-BA07C626AB29_see|text=|trigger=button}{sub-section}{sub-section:800C4CA0-45E6-4FE4-B1D1-BA07C626AB29_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:800C4CA0-45E6-4FE4-B1D1-BA07C626AB29_see|text=|trigger=button}{sub-section}{sub-section:800C4CA0-45E6-4FE4-B1D1-BA07C626AB29_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:800C4CA0-45E6-4FE4-B1D1-BA07C626AB29_sam|text=|trigger=button}{sub-section}{sub-section:800C4CA0-45E6-4FE4-B1D1-BA07C626AB29_sam|class=sIndent|trigger=none}{code:language=javascript} // get the toolbar at the panel by name var toolbar = plugins.menubar.getToolBar("toolbar_0"); // add a button with a text and a method toolbar.addButton("button", feedback_button); // add an input array to the button for feedback in the selected method toolbar.addButton("button", feedback_button, [1, "2", "three"]); // add an icon to the button toolbar.addButton("button", feedback_button, [1, "2", "three"], "media:///yourimage.gif"); // add a tooltip to the button toolbar.addButton("button", feedback_button, [1, "2", "three"], "media:///yourimage.gif", "tooltip..."); // show only an icon on the button and disable the button toolbar.addButton(null, feedback_button, [1, "2", "three"], "media:///yourimage.gif", "tooltip...", false); // add a separator toolbar.addSeparator(); // make the button non visible toolbar.addButton(null, feedback_button, [1, "2", "three"], "media:///yourimage.gif", "tooltip...",true, false); // and validate the changes // to make them know to the user interface) toolbar.validate(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=6D8838BA-9572-472D-9411-521355E41963}{tr:id=name}{td}h6.addCheckBox{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}addCheckBox{span}{span:id=iets|style=float: left;}\(text, method, selected, tooltip, enabled, visible){span}{td}{tr}{tr:id=des}{td}{sub-section:6D8838BA-9572-472D-9411-521355E41963_des|text=|trigger=button}{sub-section}{sub-section:6D8838BA-9572-472D-9411-521355E41963_des|trigger=none|class=sIndent}Add a CheckBox to the toolbar.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:6D8838BA-9572-472D-9411-521355E41963_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:6D8838BA-9572-472D-9411-521355E41963_prs|trigger=none}text method \[selected\] \[tooltip\] \[enabled\] \[visible\] {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:6D8838BA-9572-472D-9411-521355E41963_ret|text=|trigger=button}{sub-section}{sub-section:6D8838BA-9572-472D-9411-521355E41963_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:6D8838BA-9572-472D-9411-521355E41963_see|text=|trigger=button}{sub-section}{sub-section:6D8838BA-9572-472D-9411-521355E41963_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:6D8838BA-9572-472D-9411-521355E41963_see|text=|trigger=button}{sub-section}{sub-section:6D8838BA-9572-472D-9411-521355E41963_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:6D8838BA-9572-472D-9411-521355E41963_sam|text=|trigger=button}{sub-section}{sub-section:6D8838BA-9572-472D-9411-521355E41963_sam|class=sIndent|trigger=none}{code:language=javascript} // add a toolbar with a name and internal name var toolbar = plugins.menubar.addToolBar("toolbar_1", "toolbar_1"); // add a checkbox with a text and a method toolbar.addCheckBox("checkbox", feedback_button); // add an checkbox and set it's state to selected (not selected by default) toolbar.addCheckBox("checkbox", feedback_button, true); // add a tooltip to the checkbox toolbar.addCheckBox("checkbox", feedback_button, false, "tooltip"); // add a separator toolbar.addSeparator(); // disable the checkbox and select it toolbar.addCheckBox("checkbox", feedback_button, true, "tooltip",false); // make the button non visible toolbar.addCheckBox("checkbox", feedback_button, false, "tooltip",false, false); // and validate the changes // to make them know to the user interface) toolbar.validate(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=68BFBA0F-F160-4B64-89A0-6654A92D9576}{tr:id=name}{td}h6.addComboBox{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}addComboBox{span}{span:id=iets|style=float: left;}\(method, index, input, tooltip, enabled, visible){span}{td}{tr}{tr:id=des}{td}{sub-section:68BFBA0F-F160-4B64-89A0-6654A92D9576_des|text=|trigger=button}{sub-section}{sub-section:68BFBA0F-F160-4B64-89A0-6654A92D9576_des|trigger=none|class=sIndent}Add a ComboBox to the toolbar.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:68BFBA0F-F160-4B64-89A0-6654A92D9576_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:68BFBA0F-F160-4B64-89A0-6654A92D9576_prs|trigger=none}method index input \[tooltip\] \[enabled\] \[visible\] {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:68BFBA0F-F160-4B64-89A0-6654A92D9576_ret|text=|trigger=button}{sub-section}{sub-section:68BFBA0F-F160-4B64-89A0-6654A92D9576_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:68BFBA0F-F160-4B64-89A0-6654A92D9576_see|text=|trigger=button}{sub-section}{sub-section:68BFBA0F-F160-4B64-89A0-6654A92D9576_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:68BFBA0F-F160-4B64-89A0-6654A92D9576_see|text=|trigger=button}{sub-section}{sub-section:68BFBA0F-F160-4B64-89A0-6654A92D9576_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:68BFBA0F-F160-4B64-89A0-6654A92D9576_sam|text=|trigger=button}{sub-section}{sub-section:68BFBA0F-F160-4B64-89A0-6654A92D9576_sam|class=sIndent|trigger=none}{code:language=javascript} // add a toolbar with a name and internal name at the given row index var toolbar = plugins.menubar.addToolBar("toolbar_2", "toolbar_2", 3); // add a combobox with the attached method, selected index and input (list) array toolbar.addComboBox(feedback_button, 0, ["input","array","combobox",1]); // add a tooltip to the combobox toolbar.addComboBox(feedback_button, 1, ["input","array","combobox",2], "tooltip"); // add a separator toolbar.addSeparator(); // disable the combobox toolbar.addComboBox(feedback_button, 2, ["input","array","combobox",3], "tooltip",false); // make the combobox non visible toolbar.addComboBox(feedback_button, 3, ["input","array","combobox",4], "tooltip",false, false); // and validate the changes // to make them know to the user interface) toolbar.validate(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=7842B0BD-7CD0-4EF4-818D-B75C1188940B}{tr:id=name}{td}h6.addField{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}addField{span}{span:id=iets|style=float: left;}\(method, text, tooltip, enabled, visible){span}{td}{tr}{tr:id=des}{td}{sub-section:7842B0BD-7CD0-4EF4-818D-B75C1188940B_des|text=|trigger=button}{sub-section}{sub-section:7842B0BD-7CD0-4EF4-818D-B75C1188940B_des|trigger=none|class=sIndent}Add a Field to the toolbar.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:7842B0BD-7CD0-4EF4-818D-B75C1188940B_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:7842B0BD-7CD0-4EF4-818D-B75C1188940B_prs|trigger=none}method text \[tooltip\] \[enabled\] \[visible\] {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:7842B0BD-7CD0-4EF4-818D-B75C1188940B_ret|text=|trigger=button}{sub-section}{sub-section:7842B0BD-7CD0-4EF4-818D-B75C1188940B_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:7842B0BD-7CD0-4EF4-818D-B75C1188940B_see|text=|trigger=button}{sub-section}{sub-section:7842B0BD-7CD0-4EF4-818D-B75C1188940B_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:7842B0BD-7CD0-4EF4-818D-B75C1188940B_see|text=|trigger=button}{sub-section}{sub-section:7842B0BD-7CD0-4EF4-818D-B75C1188940B_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:7842B0BD-7CD0-4EF4-818D-B75C1188940B_sam|text=|trigger=button}{sub-section}{sub-section:7842B0BD-7CD0-4EF4-818D-B75C1188940B_sam|class=sIndent|trigger=none}{code:language=javascript} // add a toolbar with a name and internal name at the given row index var toolbar = plugins.menubar.addToolBar("toolbar_3", "toolbar_3", 4); // add a field with the attached method and a default text toolbar.addField(feedback_button, null); // add a separator toolbar.addSeparator(); // set the length of the field. // default length = 8 when length is not set or set to 0 toolbar.addField(feedback_button, "field", 0, "tooltip"); // add a separator toolbar.addSeparator(); // add a tooltip to the field toolbar.addField(feedback_button, "field", 10, "tooltip"); // add a separator toolbar.addSeparator(); // disable the field toolbar.addField(feedback_button, null, 5, "tooltip",false); // add a separator toolbar.addSeparator(); // make the field non visible toolbar.addField(feedback_button, "field", 0, "tooltip",false, false); // and validate the changes // to make them know to the user interface) toolbar.validate(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=A5F1C3FB-3ECC-4E8E-9032-4E2A75775C58}{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;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:A5F1C3FB-3ECC-4E8E-9032-4E2A75775C58_des|text=|trigger=button}{sub-section}{sub-section:A5F1C3FB-3ECC-4E8E-9032-4E2A75775C58_des|trigger=none|class=sIndent}Add a Separator to the toolbar.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:A5F1C3FB-3ECC-4E8E-9032-4E2A75775C58_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:A5F1C3FB-3ECC-4E8E-9032-4E2A75775C58_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:A5F1C3FB-3ECC-4E8E-9032-4E2A75775C58_ret|text=|trigger=button}{sub-section}{sub-section:A5F1C3FB-3ECC-4E8E-9032-4E2A75775C58_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:A5F1C3FB-3ECC-4E8E-9032-4E2A75775C58_see|text=|trigger=button}{sub-section}{sub-section:A5F1C3FB-3ECC-4E8E-9032-4E2A75775C58_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:A5F1C3FB-3ECC-4E8E-9032-4E2A75775C58_see|text=|trigger=button}{sub-section}{sub-section:A5F1C3FB-3ECC-4E8E-9032-4E2A75775C58_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:A5F1C3FB-3ECC-4E8E-9032-4E2A75775C58_sam|text=|trigger=button}{sub-section}{sub-section:A5F1C3FB-3ECC-4E8E-9032-4E2A75775C58_sam|class=sIndent|trigger=none}{code:language=javascript} // get the toolbar at the panel by name var toolbar = plugins.menubar.getToolBar("toolbar_0"); // add a button with a text and a method toolbar.addButton("button", feedback_button); // add an input array to the button for feedback in the selected method toolbar.addButton("button", feedback_button, [1, "2", "three"]); // add an icon to the button toolbar.addButton("button", feedback_button, [1, "2", "three"], "media:///yourimage.gif"); // add a tooltip to the button toolbar.addButton("button", feedback_button, [1, "2", "three"], "media:///yourimage.gif", "tooltip..."); // show only an icon on the button and disable the button toolbar.addButton(null, feedback_button, [1, "2", "three"], "media:///yourimage.gif", "tooltip...", false); // add a separator toolbar.addSeparator(); // make the button non visible toolbar.addButton(null, feedback_button, [1, "2", "three"], "media:///yourimage.gif", "tooltip...",true, false); // and validate the changes // to make them know to the user interface) toolbar.validate(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=A8B48B65-99AE-4C8B-9790-C1826161D003}{tr:id=name}{td}h6.enableItem{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}enableItem{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:A8B48B65-99AE-4C8B-9790-C1826161D003_des|text=|trigger=button}{sub-section}{sub-section:A8B48B65-99AE-4C8B-9790-C1826161D003_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:A8B48B65-99AE-4C8B-9790-C1826161D003_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:A8B48B65-99AE-4C8B-9790-C1826161D003_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:A8B48B65-99AE-4C8B-9790-C1826161D003_ret|text=|trigger=button}{sub-section}{sub-section:A8B48B65-99AE-4C8B-9790-C1826161D003_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:A8B48B65-99AE-4C8B-9790-C1826161D003_see|text=|trigger=button}{sub-section}{sub-section:A8B48B65-99AE-4C8B-9790-C1826161D003_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:A8B48B65-99AE-4C8B-9790-C1826161D003_see|text=|trigger=button}{sub-section}{sub-section:A8B48B65-99AE-4C8B-9790-C1826161D003_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:A8B48B65-99AE-4C8B-9790-C1826161D003_sam|text=|trigger=button}{sub-section}{sub-section:A8B48B65-99AE-4C8B-9790-C1826161D003_sam|class=sIndent|trigger=none}{code:language=javascript} // get the toolbar at the panel by name var toolbar = plugins.menubar.getToolBar("toolbar_1"); // enable/disable the selected item at the index // REMARK: the pitfall here is that the indexes start at position 1 here // position 0 is reserved for the toolbar handle! toolbar.enableItem(1, false); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=EE2FA9B6-1E99-4EE8-A3CB-57D8EB8DA93F}{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:EE2FA9B6-1E99-4EE8-A3CB-57D8EB8DA93F_des|text=|trigger=button}{sub-section}{sub-section:EE2FA9B6-1E99-4EE8-A3CB-57D8EB8DA93F_des|trigger=none|class=sIndent}Remove all Buttons, Checkboxes etc. from the toolbar.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:EE2FA9B6-1E99-4EE8-A3CB-57D8EB8DA93F_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:EE2FA9B6-1E99-4EE8-A3CB-57D8EB8DA93F_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:EE2FA9B6-1E99-4EE8-A3CB-57D8EB8DA93F_ret|text=|trigger=button}{sub-section}{sub-section:EE2FA9B6-1E99-4EE8-A3CB-57D8EB8DA93F_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:EE2FA9B6-1E99-4EE8-A3CB-57D8EB8DA93F_see|text=|trigger=button}{sub-section}{sub-section:EE2FA9B6-1E99-4EE8-A3CB-57D8EB8DA93F_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:EE2FA9B6-1E99-4EE8-A3CB-57D8EB8DA93F_see|text=|trigger=button}{sub-section}{sub-section:EE2FA9B6-1E99-4EE8-A3CB-57D8EB8DA93F_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:EE2FA9B6-1E99-4EE8-A3CB-57D8EB8DA93F_sam|text=|trigger=button}{sub-section}{sub-section:EE2FA9B6-1E99-4EE8-A3CB-57D8EB8DA93F_sam|class=sIndent|trigger=none}{code:language=javascript} // get the toolbar at the panel by name var toolbar = plugins.menubar.getToolBar("toolbar_0"); // remove all buttons from the toolbar toolbar.removeAllItems(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=241EBCA5-8F2F-499A-9B0B-B4CDB5CC848C}{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){span}{td}{tr}{tr:id=des}{td}{sub-section:241EBCA5-8F2F-499A-9B0B-B4CDB5CC848C_des|text=|trigger=button}{sub-section}{sub-section:241EBCA5-8F2F-499A-9B0B-B4CDB5CC848C_des|trigger=none|class=sIndent}Remove a Button, CheckBox, ComboBox from the toolbar.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:241EBCA5-8F2F-499A-9B0B-B4CDB5CC848C_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:241EBCA5-8F2F-499A-9B0B-B4CDB5CC848C_prs|trigger=none}index {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:241EBCA5-8F2F-499A-9B0B-B4CDB5CC848C_ret|text=|trigger=button}{sub-section}{sub-section:241EBCA5-8F2F-499A-9B0B-B4CDB5CC848C_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:241EBCA5-8F2F-499A-9B0B-B4CDB5CC848C_see|text=|trigger=button}{sub-section}{sub-section:241EBCA5-8F2F-499A-9B0B-B4CDB5CC848C_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:241EBCA5-8F2F-499A-9B0B-B4CDB5CC848C_see|text=|trigger=button}{sub-section}{sub-section:241EBCA5-8F2F-499A-9B0B-B4CDB5CC848C_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:241EBCA5-8F2F-499A-9B0B-B4CDB5CC848C_sam|text=|trigger=button}{sub-section}{sub-section:241EBCA5-8F2F-499A-9B0B-B4CDB5CC848C_sam|class=sIndent|trigger=none}{code:language=javascript} // get the toolbar at the panel by name var toolbar = plugins.menubar.getToolBar("toolbar_0"); // remove the button, checkbox, combobox, separator or field from the toolbar // REMARK: the pitfall here is that the indexes start at position 1 here // position 0 is reserved for the toolbar handle! toolbar.removeItem(1); // and validate the changes // to make them know to the user interface) toolbar.validate(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=754A47F2-EF66-4B58-87C2-8E70486167F2}{tr:id=name}{td}h6.selectCheckBox{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}selectCheckBox{span}{span:id=iets|style=float: left;}\(index, boolean){span}{td}{tr}{tr:id=des}{td}{sub-section:754A47F2-EF66-4B58-87C2-8E70486167F2_des|text=|trigger=button}{sub-section}{sub-section:754A47F2-EF66-4B58-87C2-8E70486167F2_des|trigger=none|class=sIndent}Set the CheckBox selection.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:754A47F2-EF66-4B58-87C2-8E70486167F2_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:754A47F2-EF66-4B58-87C2-8E70486167F2_prs|trigger=none}index boolean {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:754A47F2-EF66-4B58-87C2-8E70486167F2_ret|text=|trigger=button}{sub-section}{sub-section:754A47F2-EF66-4B58-87C2-8E70486167F2_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:754A47F2-EF66-4B58-87C2-8E70486167F2_see|text=|trigger=button}{sub-section}{sub-section:754A47F2-EF66-4B58-87C2-8E70486167F2_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:754A47F2-EF66-4B58-87C2-8E70486167F2_see|text=|trigger=button}{sub-section}{sub-section:754A47F2-EF66-4B58-87C2-8E70486167F2_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:754A47F2-EF66-4B58-87C2-8E70486167F2_sam|text=|trigger=button}{sub-section}{sub-section:754A47F2-EF66-4B58-87C2-8E70486167F2_sam|class=sIndent|trigger=none}{code:language=javascript} // get the toolbar at the panel by name var toolbar = plugins.menubar.getToolBar("toolbar_1"); // set the selection of the checkbox at the index // REMARK: the pitfall here is that the indexes start at position 1 here // position 0 is reserved for the toolbar handle! toolbar.selectCheckBox(1, false); toolbar.selectCheckBox(2, true); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=DBE6839F-F22B-4057-AE67-0C8A4E4FE0AB}{tr:id=name}{td}h6.selectComboBox{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}selectComboBox{span}{span:id=iets|style=float: left;}\(index, rowindex){span}{td}{tr}{tr:id=des}{td}{sub-section:DBE6839F-F22B-4057-AE67-0C8A4E4FE0AB_des|text=|trigger=button}{sub-section}{sub-section:DBE6839F-F22B-4057-AE67-0C8A4E4FE0AB_des|trigger=none|class=sIndent}Select a row of the ComboBox via the index.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:DBE6839F-F22B-4057-AE67-0C8A4E4FE0AB_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:DBE6839F-F22B-4057-AE67-0C8A4E4FE0AB_prs|trigger=none}index rowindex {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:DBE6839F-F22B-4057-AE67-0C8A4E4FE0AB_ret|text=|trigger=button}{sub-section}{sub-section:DBE6839F-F22B-4057-AE67-0C8A4E4FE0AB_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:DBE6839F-F22B-4057-AE67-0C8A4E4FE0AB_see|text=|trigger=button}{sub-section}{sub-section:DBE6839F-F22B-4057-AE67-0C8A4E4FE0AB_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:DBE6839F-F22B-4057-AE67-0C8A4E4FE0AB_see|text=|trigger=button}{sub-section}{sub-section:DBE6839F-F22B-4057-AE67-0C8A4E4FE0AB_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:DBE6839F-F22B-4057-AE67-0C8A4E4FE0AB_sam|text=|trigger=button}{sub-section}{sub-section:DBE6839F-F22B-4057-AE67-0C8A4E4FE0AB_sam|class=sIndent|trigger=none}{code:language=javascript} // get the toolbar at the panel by name var toolbar = plugins.menubar.getToolBar("toolbar_2"); // set the selection of the combobox at the index // REMARK: the pitfall here is that the indexes start at position 1 here // position 0 is reserved for the toolbar handle! toolbar.selectComboBox(1, 0); toolbar.selectComboBox(2, 0); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=E0F50AC2-A8FD-4EA4-A668-42FACE4F734B}{tr:id=name}{td}h6.setFieldText{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}setFieldText{span}{span:id=iets|style=float: left;}\(index, text){span}{td}{tr}{tr:id=des}{td}{sub-section:E0F50AC2-A8FD-4EA4-A668-42FACE4F734B_des|text=|trigger=button}{sub-section}{sub-section:E0F50AC2-A8FD-4EA4-A668-42FACE4F734B_des|trigger=none|class=sIndent}Set a (default) text of the field at the given index.{sub-section}{td}{tr}{tr:id=prs}{td}*Parameters*\\{sub-section:E0F50AC2-A8FD-4EA4-A668-42FACE4F734B_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:E0F50AC2-A8FD-4EA4-A668-42FACE4F734B_prs|trigger=none}index text {sub-section}{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{sub-section:E0F50AC2-A8FD-4EA4-A668-42FACE4F734B_ret|text=|trigger=button}{sub-section}{sub-section:E0F50AC2-A8FD-4EA4-A668-42FACE4F734B_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:E0F50AC2-A8FD-4EA4-A668-42FACE4F734B_see|text=|trigger=button}{sub-section}{sub-section:E0F50AC2-A8FD-4EA4-A668-42FACE4F734B_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:E0F50AC2-A8FD-4EA4-A668-42FACE4F734B_see|text=|trigger=button}{sub-section}{sub-section:E0F50AC2-A8FD-4EA4-A668-42FACE4F734B_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:E0F50AC2-A8FD-4EA4-A668-42FACE4F734B_sam|text=|trigger=button}{sub-section}{sub-section:E0F50AC2-A8FD-4EA4-A668-42FACE4F734B_sam|class=sIndent|trigger=none}{code:language=javascript} // get the toolbar at the panel by name var toolbar = plugins.menubar.getToolBar("toolbar_3"); // set the text of the field at the index // REMARK: the pitfall here is that the indexes start at position 1 here // position 0 is reserved for the toolbar handle! toolbar.setFieldText(1, "new text 1"); toolbar.setFieldText(2, "new text 2"); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=907BD25D-136D-427B-AA33-AAF9C7E8C975}{tr:id=name}{td}h6.validate{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}validate{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{tr:id=des}{td}{sub-section:907BD25D-136D-427B-AA33-AAF9C7E8C975_des|text=|trigger=button}{sub-section}{sub-section:907BD25D-136D-427B-AA33-AAF9C7E8C975_des|trigger=none|class=sIndent}You need to call this method after adding or removing items to/from the toolbar.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:907BD25D-136D-427B-AA33-AAF9C7E8C975_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:907BD25D-136D-427B-AA33-AAF9C7E8C975_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:907BD25D-136D-427B-AA33-AAF9C7E8C975_ret|text=|trigger=button}{sub-section}{sub-section:907BD25D-136D-427B-AA33-AAF9C7E8C975_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:907BD25D-136D-427B-AA33-AAF9C7E8C975_see|text=|trigger=button}{sub-section}{sub-section:907BD25D-136D-427B-AA33-AAF9C7E8C975_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:907BD25D-136D-427B-AA33-AAF9C7E8C975_see|text=|trigger=button}{sub-section}{sub-section:907BD25D-136D-427B-AA33-AAF9C7E8C975_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:907BD25D-136D-427B-AA33-AAF9C7E8C975_sam|text=|trigger=button}{sub-section}{sub-section:907BD25D-136D-427B-AA33-AAF9C7E8C975_sam|class=sIndent|trigger=none}{code:language=javascript} // get the toolbar at the panel by name var toolbar = plugins.menubar.getToolBar("toolbar_0"); // remove the button, checkbox, combobox, separator or field from the toolbar // REMARK: the pitfall here is that the indexes start at position 1 here // position 0 is reserved for the toolbar handle! toolbar.removeItem(1); // and validate the changes // to make them know to the user interface) toolbar.validate(); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=506F8073-8802-4716-A13D-91E7160C7D46}{tr:id=name}{td}h6.visibleItem{td}{tr}{tr:id=sig}{td}{span:style=float: left; margin-right: 5px;}void{span}{span:id=iets|style=float: left; font-weight: bold;}visibleItem{span}{span:id=iets|style=float: left;}\(){span}{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:506F8073-8802-4716-A13D-91E7160C7D46_des|text=|trigger=button}{sub-section}{sub-section:506F8073-8802-4716-A13D-91E7160C7D46_des|trigger=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:506F8073-8802-4716-A13D-91E7160C7D46_prs|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:506F8073-8802-4716-A13D-91E7160C7D46_prs|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:506F8073-8802-4716-A13D-91E7160C7D46_ret|text=|trigger=button}{sub-section}{sub-section:506F8073-8802-4716-A13D-91E7160C7D46_ret|trigger=none|class=sIndent}void{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:506F8073-8802-4716-A13D-91E7160C7D46_see|text=|trigger=button}{sub-section}{sub-section:506F8073-8802-4716-A13D-91E7160C7D46_see|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:506F8073-8802-4716-A13D-91E7160C7D46_see|text=|trigger=button}{sub-section}{sub-section:506F8073-8802-4716-A13D-91E7160C7D46_link|class=sIndent|trigger=none}{sub-section}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:506F8073-8802-4716-A13D-91E7160C7D46_sam|text=|trigger=button}{sub-section}{sub-section:506F8073-8802-4716-A13D-91E7160C7D46_sam|class=sIndent|trigger=none}{code:language=javascript} // get the toolbar at the panel by name var toolbar = plugins.menubar.getToolBar("toolbar_2"); // make the selected item at the index visible/invisible // REMARK: the pitfall here is that the indexes start at position 1 here // position 0 is reserved for the toolbar handle! toolbar.visibleItem(1, false); {code}{sub-section}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}
prs

Parameters

sIndenttext ;method ;arguments ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRowaddButtonname

addButton(text, method, arguments, icon)

dessIndent
Add a Button to the toolbar.
prs

Parameters

sIndenttext ;method ;arguments ;icon ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addButtonname

addButton(text, method, arguments, icon, tooltip)

dessIndent
Add a Button to the toolbar.
prs

Parameters

sIndenttext ;method ;arguments ;icon ;tooltip ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addButtonname

addButton(text, method, arguments, icon, tooltip, enabled)

dessIndent
Add a Button to the toolbar.
prs

Parameters

sIndenttext ;method ;arguments ;icon ;tooltip ;enabled ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addButtonname

addButton(text, method, arguments, icon, tooltip, enabled, visible)

dessIndent
Add a Button to the toolbar.
prs

Parameters

sIndenttext ;method ;arguments ;icon ;tooltip ;enabled ;visible ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(text, method)

dessIndent
Add a CheckBox to the toolbar.
prs

Parameters

sIndenttext ;method ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(text, method, selected)

dessIndent
Add a CheckBox to the toolbar.
prs

Parameters

sIndenttext ;method ;selected ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(text, method, selected, tooltip)

dessIndent
Add a CheckBox to the toolbar.
prs

Parameters

sIndenttext ;method ;selected ;tooltip ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(text, method, selected, tooltip, enabled)

dessIndent
Add a CheckBox to the toolbar.
prs

Parameters

sIndenttext ;method ;selected ;tooltip ;enabled ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addCheckBoxname

addCheckBox(text, method, selected, tooltip, enabled, visible)

dessIndent
Add a CheckBox to the toolbar.
prs

Parameters

sIndenttext ;method ;selected ;tooltip ;enabled ;visible ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addComboBoxname

addComboBox(method, index, values)

dessIndent
Add a ComboBox to the toolbar.
prs

Parameters

sIndentmethod ;index ;values ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addComboBoxname

addComboBox(method, index, values, tooltip)

dessIndent
Add a ComboBox to the toolbar.
prs

Parameters

sIndentmethod ;index ;values ;tooltip ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addComboBoxname

addComboBox(method, index, values, tooltip, enabled)

dessIndent
Add a ComboBox to the toolbar.
prs

Parameters

sIndentmethod ;index ;values ;tooltip ;enabled ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addComboBoxname

addComboBox(method, index, values, tooltip, enabled, visible)

dessIndent
Add a ComboBox to the toolbar.
prs

Parameters

sIndentmethod ;index ;values ;tooltip ;enabled ;visible ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addFieldname

addField(method, text)

dessIndent
Add a Field to the toolbar.
prs

Parameters

sIndentmethod ;text ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addFieldname

addField(method, text, length)

dessIndent
Add a Field to the toolbar.
prs

Parameters

sIndentmethod ;text ;length ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addFieldname

addField(method, text, length, tooltip)

dessIndent
Add a Field to the toolbar.
prs

Parameters

sIndentmethod ;text ;length ;tooltip ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addFieldname

addField(method, text, length, tooltip, enabled)

dessIndent
Add a Field to the toolbar.
prs

Parameters

sIndentmethod ;text ;length ;tooltip ;enabled ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addFieldname

addField(method, text, length, tooltip, enabled, visible)

dessIndent
Add a Field to the toolbar.
prs

Parameters

sIndentmethod ;text ;length ;tooltip ;enabled ;visible ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
addSeparatorname

addSeparator()

dessIndent
Add a Separator to the toolbar.
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
enableItemname

enableItem(index, enabled)

dessIndent
Enable/disable the item at the specified index.
prs

Parameters

sIndentindex ;enabled ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
removeAllItemsname

removeAllItems()

dessIndent
Remove all Buttons, Checkboxes etc. from the toolbar.
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
removeItemname

removeItem(index)

dessIndent
Remove a Button, CheckBox, ComboBox from the toolbar.
prs

Parameters

sIndentindex ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
selectCheckBoxname

selectCheckBox(index, selected)

dessIndent
Set the CheckBox selection.
prs

Parameters

sIndentindex ;selected ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
selectComboBoxname

selectComboBox(index, selection)

dessIndent
Select a row of the ComboBox via the index.
prs

Parameters

sIndentindex ;selection ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
setFieldTextname

setFieldText(index, text)

dessIndent
Set a (default) text of the field at the given index.
prs

Parameters

sIndentindex ;text ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow
visibleItemname

visibleItem(index, visible)

dessIndent
Make the item at the specified index visible/invisible.
prs

Parameters

sIndentindex ;visible ;
clients

Supported Clients

sIndentSmartClient,WebClient
sam

Sample

sIdentjavascript
lastDetailRow