Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms Existance
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01364242
Message ID:
01364244
Views:
17
>Hi Gang....
>
>When you have released a form, and you want code later to check to see if this form is still in existance (not instantiated anymore), what do you do?
>
>I remember something in Tastrade code that used to check for this... first checking for see what the Type of the Object is, then something about NULL....
>
>What was that???
>
>Or what do you do??
>
>Thanks!
FOR EACH oForm IN _screen.Forms
    IF oForm.Name == "SOMETHING"
       *** Then your form exists :-)
    ENDIF
NEXT
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform