ADDBUTTON | Add button to toolbar. |
ADDSEPARATOR | Add separator to the toolbar. |
CLEAR | Clear toolbar. |
DISABLE | Disable button on toolbar. |
ENABLE | Make button active (enabled). |
GETELEMENT | Get button object. |
HIDE | Hide toolbar. |
ISENABLED | Get flag of button activity. |
REMOVE | Remove button from toolbar. |
SHOW | Show/hide toolbar. |
UITOOLBAR | Constructor. Create toolbar. |
addButton([<pic>],<tooltip>,[<action>],[<isEnabled>]) --> <nItem>
In this method the object UIToolButton is placed in the <elem> array. Method returns index of added object in this array.
<pic> | - Object UIImage. Icon on the button. |
<tooltip> | - String. Text of tool tip for the button. |
<action> | - Code block. Code block that will be executed if button pressed. |
<isEnabled> | - Boolean. Flag of button activity. |
Returns : | Index of added object UIToolButton in array <elem>. |
getElement(<pos>) --> <oItem>
<pos> | - Number. Index of button on toolbar. |
Returns : | UIToolButton object. Button object. |