FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour refresh a btnbmp on line
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

refresh a btnbmp on line

Posted: Fri Jan 15, 2016 12:08 AM

I have a btnbmp with a prompt with a number
then the user press the button and the procedure must assign the new prompt with the new number
why not refresh() ?

nNumber:= 8

@ 233, 118 BTNBMP oBtnAllegati OF oDlgTest ;
SIZE 55, 14 PIXEL 2007 ;
BORDER LEFT ROUND ;
PROMPT str(nNumberi)+" files" RESOURCE "DLG_OK" ;
ACTION (nNumber=test(),oBtnAllegati:refresh() )

...

function test()
return 10

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: refresh a btnbmp on line

Posted: Fri Jan 15, 2016 09:59 AM
Silvio,

ACTION (nNumber := test(),oBtnAllegati:refresh() )
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

Re: refresh a btnbmp on line

Posted: Fri Jan 15, 2016 10:51 AM

sorry,
On the night I am very tired and perhaps I am ...old!!!

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion