Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_screen.activeform don´t work in load event
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
_screen.activeform don´t work in load event
Divers
Thread ID:
00220463
Message ID:
00220463
Vues:
61
Hello to all

I put this code in the load event of a form:

if _screen.formcount>1
_screen.activeform.windowstate=1
endif

This is because I want to minimize any open form when I load another.
VFP says that _screen.activeform isn´t an object but he evaluate _screen.formcount right.

If anyone can tell me what is the mistake please do it.

Thanks

Pedro
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform