Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with KeyPress
Message
De
12/12/2000 16:02:21
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00452358
Message ID:
00452533
Vues:
23
>>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()
>

The SetFocus can't be called from anywhere under the calling stack from a Valid() event.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform