btnbmp disable

btnbmp disable

Postby reinaldocrespo » Tue Jul 24, 2007 5:11 pm

Hi.

I'm having problems changing the aspect of tbtnbmp object when disable. I'm declaring it something like this:
Code: Select all  Expand view  RUN
   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
reinaldocrespo
 
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Postby Antonio Linares » Tue Jul 24, 2007 5:51 pm

Reinaldo,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby reinaldocrespo » Tue Jul 24, 2007 5:58 pm

Antonio;

Thank you very much.


Reinaldo.
User avatar
reinaldocrespo
 
Posts: 979
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 90 guests