Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form keypress Conundrum
Message
De
11/01/2006 12:38:01
 
 
À
11/01/2006 11:40:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01085658
Message ID:
01085725
Vues:
36
This message has been marked as a message which has helped to the initial question of the thread.
>Works like a charm!!!! Thanks so much!
>Here is my updated keypress event:

You may want to test for pemstatus(Activecontrol, 'SetFocus', 5) to be on the safe side

Found this in my form's class
do case
case isnull(m.ac)

case !pemstatus(m.ac, 'SetFocus', 5)

otherwise
	=m.ac.SetFocus()
	
endcase
I've have forgotten, but I think that certain controls have no SetFocus()
There's a reason I've got it in. Just cannot remember why
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform