SetToolbarButtonState() would change the status of a button on the toolbar...
SetToolbarButtonState(#n,0) - default
SetToolbarButtonState(#n,1) - pressed (for toggles)
SetToolbarButtonState(#n,2) - disabled (grayed out)
GetToolbarButtonState()
for real fancy things one could ure the toolbar pro library, but the above is fairly basic for simple programs, and would simply enhance the usability of the toolbar
SetToolbarButtonState
SetToolbarButtonState
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
or perhaps equivalents for...

Code: Select all
x_toolbar_togglebutton()
x_toolbar_radiobutton()
x_toolbar_setbuttonstate()
x_toolbar_getbuttonstate()
x_toolbar_disablebutton()
x_toolbar_enablebutton()

( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )