btnbmp disable

Post Reply
User avatar
reinaldocrespo
Posts: 918
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

btnbmp disable

Post by reinaldocrespo »

Hi.

I'm having problems changing the aspect of tbtnbmp object when disable. I'm declaring it something like this:

Code: Select all

	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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Reinaldo,

::oBtnRec:LoadBitmaps( "voicerec_recDis" )
::oBtnRec:Refresh()
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
reinaldocrespo
Posts: 918
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Post by reinaldocrespo »

Antonio;

Thank you very much.


Reinaldo.
Post Reply