Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking if a form is open at the moment..
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00140310
Message ID:
00140335
Vues:
39
Hi Michiel,

>I tried it, but I can't find the windowname. I tried the variable I use to put the createobject in and the name variable of the form. I also tried to retrieve the window name while running the Debugger but I cannot find it. Where do find the name for a window?

The window name is what's stored in the Name property, eg:
? WEXIST(Thisform.Name)
But you can also scan the Forms collection of _SCREEN:
  For Each oForm in _Screen.Forms
     If oForm.Name = "...."
        Exit
     Endif
  Endfor
Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform