Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I instantiate a form object that is not MODAL?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00109401
Message ID:
00109832
Views:
25
>>Lee,
>>
>>I forgot to give you the solution. Bind the non-modal form to a property of something, something like a form manager whose job in life is launching forms. Please don't succumb to the temptation to declare PUBLIC variables. PUBLIC variables do you njo good at all, they get in the way and they limit the flexeibility of your design and work.
>
>
>Jim,
>
>I was thinking the same thing. Add a property to my application class to hold a reference to the reindex form. Any ideas as to how I can ease the testing cycle when I run this and an application object is not instantiated?
>
>Thanks

Lee,

You could create a , ug, PUBLIC variable for your form object for testing. I always test inside of the application so I have not dealt with the problem.
Previous
Reply
Map
View

Click here to load this message in the networking platform