Page 1 of 1

Question about the buttonbar

Posted: Thu Nov 22, 2007 4:20 pm
by driessen
Hello,

In my buttonbar, I'd like to change the icon of one button to give a certain indication to the user.

How can I do this ?

Thank you

Re: Question about the buttonbar

Posted: Thu Nov 22, 2007 7:01 pm
by Enrico Maria Giordano
Try using SetFile() method of TBtnBmp class.

EMG

Posted: Fri Nov 23, 2007 12:03 am
by James Bott
>In my buttonbar, I'd like to change the icon of one button to give a certain indication to the user.

Generally, I would advise against doing that. It is disconcerting to the user to have the button change into something else. The one exception would to be to gray it out (with the same icon) when disabled.

I would be interested to know what you want to indicate?

James