Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking if a form is open at the moment..
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00140310
Message ID:
00140335
Views:
38
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
Previous
Reply
Map
View

Click here to load this message in the networking platform