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:
00161627
Views:
21
Rich thanks. I will try this on monday. I only had two properties and I just went ahead and made them PUBLIC... I didn't want to but expediance is sometimes the better part of valor. ;} happy T-Day!

>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
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform