Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting VFP5 app to VFP9
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Converting VFP5 app to VFP9
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01249363
Message ID:
01249363
Vues:
66
In my conversion, I am getting the following error.

Cannot call SetFocus from within a When, Valid, RangeHigh or RangeLow event.

How do I handle this?

What is happening, is a user is changing a option group item and a requery of a grid occurs. After the requery is done, the code sets focus to the grid via:

thisform.cgrid1.setfocus()


Any ideas?
TIA,
Mike
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform