I have a strange error or I not remeber as refresh a numeric get control after I insert another get
I wish refresh the second get with the value of first get , any help please ?
the minimal test
I wish refresh the second get with the value of first get , any help please ?
the minimal test
#include "FiveWin.ch"
#include "constant.ch"
#include "Report.ch"
Function test()
LOcal oDlg
Local aGet[20]
Local nApimpneto:=0
Local nApimptotal:=0
Local nBottom := 26.9
Local nRight := 46
Local nWidth := Max( nRight * DLG_CHARPIX_W, 180 )
Local nHeight := nBottom * DLG_CHARPIX_H
Local oFont := TFont():New( "Lucida Console", 0, 12,, )
DEFINE DIALOG oDlg ;
TITLE "test refresh" ;
SIZE nWidth, nHeight TRANSPARENT PIXEL
@ 92, 10 SAY "Importo:" OF oDlg SIZE 35, 8 PIXEL FONT oFont
@ 90, 56 GET aGet[8] VAR nApimpneto OF oDlg SIZE 40, 10 RIGHT PIXEL PICTURE "@E999,999.99" FONT oFont ;
ON CHANGE (nApimptotal:= nApimpneto ,aGet[13]:refresh())
@ 128, 10 SAY "Totale:" OF oDlg SIZE 35, 8 PIXEL FONT oFont
@ 126, 56 GET aGet[13] VAR nApimptotal OF oDlg SIZE 40, 10 PIXEL PICTURE "@E999,999.99" FONT oFont RIGHT READONLY
ACTIVATE DIALOG oDlg
retu nilSince 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
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