a get into a oPanel - RESOLVED

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

a get into a oPanel - RESOLVED

Post by Silvio.Falconi »

I have a get (readonly) on a oPanel
Image


Code: Select all

@ 8,200 SAY "Da Saldare :" OF  oPanelGray PIXEL SIZE 90,20 TRANSPARENT
 @ 6.5,292 GET aGet[9] VAR nDaSaldare  SIZE 100,24  PIXEL PICTURE ' 99,999.99'  OF oPanelGray READONLY  UPDATE
on my function to calculate the totals I refresh the aGet[9] but it not refreshed ( red circle)

while already other get that are not in an oPanel are refreshed ( green circle)

Any solution pls ?
Last edited by Silvio.Falconi on Thu Jul 18, 2019 3:22 pm, edited 1 time in total.
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Marcelo Roggeri
Posts: 275
Joined: Sat Jul 22, 2006 9:04 pm
Location: Venado Tuerto - Santa Fe -Argentina
Contact:

Re: a get into a oPanel

Post by Marcelo Roggeri »

Silvio, proba de hacer oPanel:Refresh()
Saludos
FWH - Harbour - BCC7 - PellesC - FivEdit (Cristobal Navarro)
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: a get into a oPanel

Post by Silvio.Falconi »

allready made .....
as always I have to give up aesthetics because there is always something that does not work
if the get control is out of the panel it will automatically refresh if it is inside a panel I have problems
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Marcelo Roggeri
Posts: 275
Joined: Sat Jul 22, 2006 9:04 pm
Location: Venado Tuerto - Santa Fe -Argentina
Contact:

Re: a get into a oPanel

Post by Marcelo Roggeri »

Silvio a mi me funciona eso que dices, uso mucho los paneles y dentro de el meto muchos otros controles y con solo hacer un refresh del panel se refrescan.
Saludos
FWH - Harbour - BCC7 - PellesC - FivEdit (Cristobal Navarro)
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: a get into a oPanel

Post by Silvio.Falconi »

My test?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: a get into a oPanel

Post by Silvio.Falconi »

Now
Perhaps I found the error

I insert these lines
IF nAcconto>0
nDaSaldare:=nTotale-nAcconto
else
nDaSaldare:=nTotale
Endif

now run ok
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply