Page 1 of 1

BtnBmp prompt

PostPosted: Wed Sep 14, 2011 4:14 pm
by TimStone
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

Re: BtnBmp prompt

PostPosted: Wed Sep 14, 2011 4:24 pm
by Bayron
Try this:
Code: Select all  Expand view
oBtn1:cCaption:="Confirm"
oBtn1:Refresh()
 

Re: BtnBmp prompt

PostPosted: Wed Sep 14, 2011 4:27 pm
by TimStone
Thanks

Re: BtnBmp prompt

PostPosted: Thu Sep 15, 2011 6:54 pm
by hag
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