In order to update get individually you use
oGet:Refresh()
If you want to update all get in I engage in a dialog uses clausula UPDATE in each GET and with odlg:update() you update all get in a single step, for example:
DEFINE DIALOG oImpDlg RESOURCE "D_CARIMP" of oInv FONT oWndFont
REDEFINE CHECKBOX oChkI1 VAR lColorPrn ID 105 OF oImpDlg; UPDATE
REDEFINE GET oGETI2 VAR nVelC ID 107 OF oImpDlg;
PICTURE "999.9";
WHEN lColorPrn UPDATE
REDEFINE GET oGETI3 VAR nVelBN ID 109 OF oImpDlg;
PICTURE "999.9";
MESSAGE "Ingrese la Velocidad Maxima a B/N";
WHEN nTipo > 1 UPDATE
ACTIVATE DIALOG oImpDlg CENTERED
It uses oImpDlg:Update() to update all Dialog and the objects within.
Before I used oGet:refresh() and it was only updating my last GET item, also I was using UPDATE clause and
oDlg:update() separately and it was not working. I was doing wrong. But now I used UPDATE with oDlg:update() and
it worked nicely. Thank you for the help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.