Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find out what forms were created?
Message
 
À
15/07/1996 15:42:32
Paul Wei
Fib, State of Michigan
Lansing, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00003996
Message ID:
00003999
Vues:
37
>How does one go about finding out what forms are created already? Is there a way to test for the existence of a form or get a list of all forms created so far?
>
>Thanks.
>
>Paul

If you mean during run time you can use the following code for objects:

if type('MyForm') = 'O' and !isnull(MyForm)
...
endif

or if a 'window' form try:

if wexist('MyForm')
...
endif

or one of the other Window functions like wontop().

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform