Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SETFOCUS( ) Error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00397679
Message ID:
00397686
Vues:
14
>By the way, I am working with Visual FoxPro 6.0 with Service Pack 3, if that makes a difference.
>

You can't issue a SetFocus() within a Valid event, even from a procedure called by the Valid, since control returns to the caller, the Valid. If the target of the SetFocus is the control itself, then returning 0 in the Valid event prevents the focus from leaving the control; otherwise, move the valid code to the LostFocus event, where a SetFocus is allowed.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform