a get into a oPanel - RESOLVED

a get into a oPanel - RESOLVED

Postby Silvio.Falconi » Fri Jul 12, 2019 9:02 am

I have a get (readonly) on a oPanel
Image



Code: Select all  Expand view
@ 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.
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: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: a get into a oPanel

Postby Marcelo Roggeri » Wed Jul 17, 2019 2:55 pm

Silvio, proba de hacer oPanel:Refresh()
Saludos
FWH - Harbour - BCC7 - PellesC
User avatar
Marcelo Roggeri
 
Posts: 325
Joined: Sat Jul 22, 2006 9:04 pm
Location: Venado Tuerto - Santa Fe -Argentina

Re: a get into a oPanel

Postby Silvio.Falconi » Wed Jul 17, 2019 4:21 pm

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
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: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: a get into a oPanel

Postby Marcelo Roggeri » Wed Jul 17, 2019 7:05 pm

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
User avatar
Marcelo Roggeri
 
Posts: 325
Joined: Sat Jul 22, 2006 9:04 pm
Location: Venado Tuerto - Santa Fe -Argentina

Re: a get into a oPanel

Postby Silvio.Falconi » Thu Jul 18, 2019 11:11 am

My test?
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: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: a get into a oPanel

Postby Silvio.Falconi » Thu Jul 18, 2019 3:22 pm

Now
Perhaps I found the error

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

now run ok
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: 6768
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 80 guests