Click or drag to resize

Toolbar Methods

The Toolbar type exposes the following members.

Methods
  NameDescription
Public methodbuttonClick
Public methoddisable
Disable current toolbar so all controls became inactive.
Public methodenable
Enable toolbar, so all controls can respond to user interaction.
Public methodEvent:onChange
Occurs when the ComboBox.SelectedIndex property has changed.
JavaScript
clientControlsFactory.on(control, "onChange", onChange);
Public methodEvent:onClick
Occurs when the control is clicked.
JavaScript
clientControlsFactory.on(control, "onClick", onClick);
Public methodEvent:onDropDownItemClick
Occurs when ComboBox.SelectedIndex property or value of Aras.Client.Controls.TTextBox.Text property was changed.
JavaScript
clientControlsFactory.on(control, "onDropDownItemClick", onDropDownItemClick);
Public methodEvent:onKeyDown
Occurs when Key is pressed on TextBoxEdit.
JavaScript
clientControlsFactory.on(control, "onKeyDown", onKeyDown);
Public methodgetActiveToolbar
Returns current displayed toolbar.
Public methodgetButtonId
Gets id for button with specified label.
Public methodgetButtonLabelById
Gets a label for button with specified id.
Public methodgetButtons
Returns string containing all controls on toolbar divided by separator.
Public methodgetButtonXY
Returns point from button center.
Public methodgetId
Gets the identifier of the Toolbar object.
Public methodgetItem
Returns item with specified id.
Public methodgetItemSize
Returns width and height of the item delimited by comma.
Public methodhideItem
Item with specified id became invisible on toolbar.
Public methodisButtonEnabled
Gets a value indicating whether the button can respond to user interaction.
Public methodisButtonVisible
If toolbar width bigger that page width, some buttons can be invisible an be hidden by scroll buttons. So method will return true, if button with id visible to user, and false, if invisible.
Public methodisToolbarExist
Public methodloadToolbarFromStr
Load xml from string;
Public methodloadXml
Loads xml from file.
Public methodsetExtraProps
Public methodshow
Displays first instance of the toolbar from toolbars collection.
Public methodshowItem
If item with id is hidden, show it.
Public methodshowLabels
Display/hide labels on toolbar buttons.
Public methodshowToolbar
Displays toolbar with specified id.
Top
See Also