Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with _Screen.ActiveForm.ActiveControl
Message
 
À
15/02/2001 16:19:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00476476
Message ID:
00476492
Vues:
24
Andy,

It is possible that there is no activecontrol, so you must check that before you use it. My preference for doing this is;
IF TYPE("_screen.ActiveForm.ActiveControl.Name") = "C"
   * We have an active control

ELSE
   * We do not have an active control

ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform