FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour btnbmp disable
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
btnbmp disable
Posted: Tue Jul 24, 2007 05:11 PM
Hi.

I'm having problems changing the aspect of tbtnbmp object when disable. I'm declaring it something like this:
	REDEFINE BTNBMP ::oBtnRec ID 201 OF ::oDlg RESOURCE "voicerec_rec", "voicerec_recDis", "VoiceRec_RecDis" ;
		TOOLTIP "Record" NOBORDER UPDATE

Wheather ::oBtnRec is disabled or not, only the first bmp displays. How can I change the image shown on the btnbmp at run time?

Thank you,



Reinaldo.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
btnbmp disable
Posted: Tue Jul 24, 2007 05:51 PM

Reinaldo,

::oBtnRec:LoadBitmaps( "voicerec_recDis" )
::oBtnRec:Refresh()

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 990
Joined: Thu Nov 17, 2005 05:49 PM
btnbmp disable
Posted: Tue Jul 24, 2007 05:58 PM

Antonio;

Thank you very much.

Reinaldo.

Continue the discussion