Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting VFP5 app to VFP9
Message
De
21/08/2007 11:38:55
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01249363
Message ID:
01249392
Vues:
19
>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

Move your code to somewhere else from valid to say interactivechange.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform