Resolved! Otto, no strtran !!! Cesar, No bgotfocus and blostfocus Jimmy, No "@9" picture Resolved !!! Only in my initial test was the statement missing: FWNumFormat( "E", .t. ) and the picture to put is "@E ###.##" Now ...
Antonio, it's not a problem of INDEX because in xbrowse I use array. I think the problem is when we point the mouse to another row of xbrowse: 1-xbrowse changes row 2-get executes lostfocus Antonio try this: Example 1This works 1-xbrowse on line 1 2-make a change of First 3-steps to the Last field a...
If we enter a name in the get and not use any key, but simply point the mouse to a row on xbrowse, the input from the get is not validated or even known, so the change is doing it with the original data in the get. Aslong we don't enter the get the the get is keeping the original data. I see the pro...
... @ 10,10 SAY 'Firs' OF oDlg update PIXEL @ 10,60 get oGet Var cFirst OF oDlg update PIXEL SIZE 100,15 oGet:bLostFocus :=<|o| Local n := oBrw:nArrayAt Local uOldVal := oGet:cText aData[n,1] ...
Hello, I think I explained it wrong. If I change the focus from the FIRST field to the LAST field, the data is changed because oBrw:nArrayAt is still correct. On the other hand, if I change the focus by clicking on another row in xbrowse (not the one i am reading in FIRST/LAST),+ the data is not cha...
#include "FiveWin.Ch"REQUEST DBFCDX//----------------------------------------------------------------------------//function main() local aData, oDlg, oBrw, cFirst := '',cLast :='' ,oGet,oGet1 USE CUSTOMER NEW VIA "DBFCDX" a...
... SIZE 800,400 PIXEL @ 10,10 SAY 'Firs' OF oDlg update PIXEL @ 10,60 get oGet Var cFirst OF oDlg update PIXEL SIZE 100,15 oGet:bLostFocus :=<|o| Local n := oBrw:nArrayAt Local uOldVal := oGet:cText aData[n,1] := uOldVal ...
Estimado Victor, Es que las páginas del folder se van construyendo una a una y es normal que se evaluen los bLostFocus En cambio desde bStart como muy bien has comprobado, el problema queda resuelto Se que es engorroso pero no creo que haya otra solución Gracias Antonio por ...