Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get an Form/Object Reference via a Prg Class
Message
From
11/01/1999 20:40:16
 
 
To
11/01/1999 14:57:37
Anthony Test
Microcomputer Engineering Services, Llc
Huntington Beach, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00174742
Message ID:
00174920
Views:
28
>Thanks for the very quick reply!
>
>I used your 'Brutal Force' suggestion and it works great! I waited to send this reply until I had a chance to test it out.
>
>Thanks Again
>Anthony

Anthony- if I remember correctly (it's been a while since I used VMP), VMP already provides you with a forms manager class. I don't remember the syntax, but you can get a reference to the form with something like

oFormRef = oForms.GetFormRef('MyForm')

Then you can manipulate myform through oFormRef.

Let me know if you can't find how to do this with your framework, and I'll crack open an old VMP project...
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform