BtnBmp prompt

BtnBmp prompt

Postby TimStone » Wed Sep 14, 2011 4:14 pm

I would like to change the prompt on a BtnBmp during program execution.

Consider:

...
REDEFINE BTNBMP oBtn1 RESOURCE "ADD" PROMPT "Add"
....

Later I want to change the prompt to "Confirm"

oBtn1:SetText("confirm") eliminates the bitmap and gives only a text button

So what can I use to just change the prompt and nothing else ?

Thanks

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: BtnBmp prompt

Postby Bayron » Wed Sep 14, 2011 4:24 pm

Try this:
Code: Select all  Expand view
oBtn1:cCaption:="Confirm"
oBtn1:Refresh()
 
=====>

Bayron Landaverry
(215)2226600 Philadelphia,PA, USA
+(502)46727275 Guatemala
MayaBuilders@gMail.com

FWH12.04||Harbour 3.2.0 (18754)||BCC6.5||UEstudio 10.10||
Windows 7 Ultimate

FiveWin, One line of code and it's done...
User avatar
Bayron
 
Posts: 815
Joined: Thu Dec 24, 2009 12:46 am
Location: Philadelphia, PA

Re: BtnBmp prompt

Postby TimStone » Wed Sep 14, 2011 4:27 pm

Thanks
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: BtnBmp prompt

Postby hag » Thu Sep 15, 2011 6:54 pm

tim:
Could you send me your email address. I notice in past you've been working with quick books. I'd like to ask you a few questions. Thanks
send to hgoldstein@dslextreme.com
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Marc Venken and 130 guests