Toolbar Methods |
The Toolbar type exposes the following members.
Name | Description | |
---|---|---|
![]() | buttonClick | |
![]() | disable |
Disable current toolbar so all controls became inactive.
|
![]() | enable |
Enable toolbar, so all controls can respond to user interaction.
|
![]() | Event:onChange |
Occurs when the ComboBox.SelectedIndex property has changed.
JavaScript clientControlsFactory.on(control, "onChange", onChange); |
![]() | Event:onClick |
Occurs when the control is clicked.
JavaScript clientControlsFactory.on(control, "onClick", onClick); |
![]() | Event:onDropDownItemClick |
Occurs when ComboBox.SelectedIndex property or value of Aras.Client.Controls.TTextBox.Text property was changed.
JavaScript clientControlsFactory.on(control, "onDropDownItemClick", onDropDownItemClick); |
![]() | Event:onKeyDown |
Occurs when Key is pressed on TextBoxEdit.
JavaScript clientControlsFactory.on(control, "onKeyDown", onKeyDown); |
![]() | getActiveToolbar |
Returns current displayed toolbar.
|
![]() | getButtonId |
Gets id for button with specified label.
|
![]() | getButtonLabelById |
Gets a label for button with specified id.
|
![]() | getButtons |
Returns string containing all controls on toolbar divided by separator.
|
![]() | getButtonXY |
Returns point from button center.
|
![]() | getId |
Gets the identifier of the Toolbar object.
|
![]() | getItem |
Returns item with specified id.
|
![]() | getItemSize |
Returns width and height of the item delimited by comma.
|
![]() | hideItem |
Item with specified id became invisible on toolbar.
|
![]() | isButtonEnabled |
Gets a value indicating whether the button can respond to user interaction.
|
![]() | isButtonVisible |
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.
|
![]() | isToolbarExist | |
![]() | loadToolbarFromStr |
Load xml from string;
|
![]() | loadXml |
Loads xml from file.
|
![]() | setExtraProps | |
![]() | show |
Displays first instance of the toolbar from toolbars collection.
|
![]() | showItem |
If item with id is hidden, show it.
|
![]() | showLabels |
Display/hide labels on toolbar buttons.
|
![]() | showToolbar |
Displays toolbar with specified id.
|