Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with _Screen.ActiveForm.ActiveControl
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00476476
Message ID:
00503220
Vues:
24
*snip*
> I'm tired from getting no sleep (broke up with gf),

My sympathies.

but hopefully I didn't miss something here. You are testing to see if the ActiveForm is an Object. But if not you go ahead and look for the Parent as ActiveForm was an Object. Are you sure it was what you had in mind?

I told you YMMV. The ELSE code was more for a failure in BaseClass part of the check. If _Screen.ActiveForm is not an object at all (i.e. no forms instantiated) then it fails miserably {BOOM!!!!}. You can add another IF...ENDIF with the object checking and remove that criteria from the inner IF...ENDIF.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform