Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFocus() Error
Message
De
10/10/2001 15:59:51
 
 
À
03/10/2001 02:29:17
Stuart Ramsey
Medical Business Systems
East Gosford, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00563407
Message ID:
00566642
Vues:
19
>Hello
>I had a similar problem where the error would occur if the keyboard shortcut for the command button was used.
>I was using the On Key Command for the shortcut which appeared to fire outside the firing order of the windows objects on my form, so the Valid event of the text box my cursor was on would fire AFTER the command button code which had a Setfocus() within the code.
>If this is your case, try using the Forms own KeyPreview Property = .T. and interrogate the keystrokes there.
>Hope this helps
>Stuart Ramsey

That was not my case, anyway, I am going to call the Label for the object I want to set focus to by using the KEYBOARD command.

Thak you very much for your reply and sorry about the late response to your suggestion.

Mao
Mao
intelisoft Corporation
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform