Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with KeyPress
Message
 
À
12/12/2000 14:36:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00452358
Message ID:
00452522
Vues:
22
>Otherwise, if you want to keep F8, change your KeyPress() code to this:
>If nKeyCode = -7 && F8
> ThisForm.Save.SetFocus()
> ThisForm.Save.Valid()
>EndIf

Mike...

I've done this... But I have a problem...

In Form1.TextBox.Valid:
Do Form2 To m.var1 With m.var2

In Form2
ThisForm.xxxx.SetFocus()

An error appear: SetFocus can't fire in Valid...

When I have one problem solver, Another apper to make me crazy!

:)

I will test put Save button with "Default"

Thank you.
Rodolfo Duarte...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform