Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which control had focus ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00768954
Message ID:
00768960
Vues:
21
>You'll have to add check that Thisform.ActiveControl has valid value.
>
>That was really fast Sergey, and it works fine. But what about checking
>for a valid value ?

Under some conditions Thisform.ActiveControl may not point to any control. For example, if form is modeless and looses focus.
IF TYPE("Thisform.ActiveControl") = "O" AND NOT ISNULL(Thisform.ActiveControl)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform