refresh a btnbmp on line

refresh a btnbmp on line

Postby Silvio.Falconi » 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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6849
Joined: Thu Oct 18, 2012 7:17 pm

Re: refresh a btnbmp on line

Postby Antonio Linares » Fri Jan 15, 2016 9:59 am

Silvio,

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

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

Re: refresh a btnbmp on line

Postby Silvio.Falconi » 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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6849
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 35 guests