Page 1 of 1

Ability to change ToolbarImageButton's image at runtime

Posted: Sun Aug 15, 2004 8:31 pm
by Shannara
Hellos, this one struck me as odd, but after searching here and looking through the PB Manual, this feature does not exist.....

Right now I have a toolbar with one image button that has an image loaded. Now, I thought I should be able to run the following code at any time during runtime to change the image to whatever I want, however PB does not allow this... *sigh*

Code: Select all

          ToolBarImageButton(#TB_CONNECT, UseImage(TB_DISCONNECT)) ;Connect/disconnect button 
Hopefully there will be support in the future for this feature...