I have this code which is used in a dialog box :
Code: Select all
REDEFINE GET oGET[01] VAR cAGDOS1 ID 101 OF AgeDlg PICTURE REPLICATE("!",5) UPDATE
REDEFINE GET oGET[02] VAR cAGDOS2 ID 102 OF AgeDlg PICTURE REPLICATE("9",5) UPDATE
REDEFINE GET oGET[03] VAR cAGSDOS ID 103 OF AgeDlg PICTURE "9" UPDATE VALID ZoekAP()
REDEFINE GET oGET[04] VAR cAGNAAMV ID 104 OF AgeDlg PICTURE REPLICATE("X", 50) UPDATE WHEN .F.
REDEFINE GET oGET[05] VAR cAGNAAMT ID 105 OF AgeDlg PICTURE REPLICATE("X", 50) UPDATE WHEN .F.
REDEFINE GET oGET[06] VAR cAGNAAMI ID 106 OF AgeDlg PICTURE REPLICATE("X", 50) UPDATE WHEN .F.
REDEFINE GET oGET[07] VAR cAGSRTNRN ID 107 OF AgeDlg PICTURE REPLICATE("X", 40) UPDATE WHEN .F.
REDEFINE GET oGET[08] VAR cAGGROEP ID 108 OF AgeDlg PICTURE REPLICATE("X", 6) UPDATE WHEN .F.
REDEFINE GET oGET[09] VAR cAGOMSCH ID 109 OF AgeDlg PICTURE REPLICATE("X",100) UPDATE
REDEFINE GET oGET[10] VAR cAGVERGNRN ID 110 OF AgeDlg PICTURE REPLICATE("X", 40) UPDATE WHEN !cAGAGRAP
In FWH 8.04, after having ended the second dialog box, the focus was automatically given to cAGOMSCH but since FWH 8.09 the focus returns to the first line, i.e. cAGDOS1 although I didn't change one single character in the code.
What causes this behaviour ? Can the behaviour of FWH 8.04 be restored in FWH 8.09 ?
If that isn't the case, I have a lot of work to do to arrange all the focusses since my application uses about 200 dialog boxes. That means at least a whole week of work for me.
I sincerely hope somebody can help me to lose that amount of time.
Thanks a lot in advance.