Question about the buttonbar

Question about the buttonbar

Postby driessen » Thu Nov 22, 2007 4:20 pm

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
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Question about the buttonbar

Postby Enrico Maria Giordano » Thu Nov 22, 2007 7:01 pm

Try using SetFile() method of TBtnBmp class.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby James Bott » Fri Nov 23, 2007 12:03 am

>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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 81 guests