SetToolBarButtonState()

Syntax

SetToolBarButtonState(#ButtonID, State)
Description
Set the state of the specified toolbar button: if 'State' is 1, the button will be pushed, if 'State' is 0, the button will be released. It allows to use toggle like buttons on a toolbar.

Supported OS

Windows, Linux, MacOS X

<- IsToolBar() - ToolBar Index - ToolBarImageButton() ->