Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mystery of the shifting form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00040207
Message ID:
00041025
Vues:
43
>>I woudl start looking at the code in the grid to see if there is anything in there that might be doing something that cause the form to jump. As I said I ran your example code on my installation and there was no jump.
>
>Your's does NOT jump? Your first message said it did and I thought I got lucky with a duplication. The only thing we do at form load is call the grid's SetFocus() method to get the row highlight to appear. This makes the form jump. So we removed the call, and the form didn't jump on load but if you clicked in the grid, thereby giving it focus, the form jumped. That's the key to this. So long as the grid doesn't get focus everything's fine. Any suggestions?
>
>Thanx for your help

Gary, can you work around it with a Lockscreen = .t. BEFORE opening the form and Lockscreen = .f. after the grid.setfocus()? Not solving the problem....

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform