Page 1 of 1

SetToolbarButtonState

Posted: Mon Mar 29, 2004 9:17 am
by blueznl
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

Posted: Mon Mar 29, 2004 3:23 pm
by blueznl
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()
:-)