FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Question about the buttonbar
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Question about the buttonbar
Posted: Thu Nov 22, 2007 04: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. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Question about the buttonbar
Posted: Thu Nov 22, 2007 07:01 PM

Try using SetFile() method of TBtnBmp class.

EMG

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Question about the buttonbar
Posted: 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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion