Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting to properties on another open non MDI form.
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00161616
Message ID:
00161624
Views:
16
Joe,

Look at the _SCREEN.FORMS() array. You can look at the following:
_SCREEN.FORMS(i).Name or any other property. The problem is if you DO a form it does not have the same name as the form that you ran in the _SCREEN object. It is a member of the _SCREEN but you refrerence it using the _SCREEN.FORMS() array. You can read the name out of the _SCREEN.FORMS().Name property and/or any other property after checking that you have the correct form in the array for reference. You could also set a variable reference to the form such as:
oForm = _SCREEN.FORMS(i)

However, beware that setting a reference to a form object or anyother object will not allow that object to be released until the variable reference is released by either oForm = '' or oForm = .null.

Rich
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform