Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning focus to the right object in valid with form
Message
 
 
À
10/09/2001 10:49:03
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00554412
Message ID:
00554690
Vues:
9
>>>>I tried both, same problem.
>>>>
>>>>But when I replace the 'DO FORM' line with '? "TEST" everyting works fine.
>>>>
>>>>So the FORM messes up the normal focus behaviour.
>>>
>>>Just wondering if this.setfocus after Do Form would do the trick?
>>
>>You cannot use this.setfocus in the valid of the textbox.
>
>Right... the whole bit of code should have been in .lostfocus instead.

In lostfocus you would also need NODEFAULT after this.setfocus for it to work.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform