Page 1 of 1

a get into a oPanel - RESOLVED

Posted: Fri Jul 12, 2019 9:02 am
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 ?

Re: a get into a oPanel

Posted: Wed Jul 17, 2019 2:55 pm
by Marcelo Roggeri
Silvio, proba de hacer oPanel:Refresh()
Saludos

Re: a get into a oPanel

Posted: Wed Jul 17, 2019 4:21 pm
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

Re: a get into a oPanel

Posted: Wed Jul 17, 2019 7:05 pm
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

Re: a get into a oPanel

Posted: Thu Jul 18, 2019 11:11 am
by Silvio.Falconi
My test?

Re: a get into a oPanel

Posted: Thu Jul 18, 2019 3:22 pm
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