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:
00109441
Views:
21
>oReindex = createobject('frmReindex', 'X_TAGDBF', 'DBF_NAME', 'TAG_NAME', 'KEY_NAME')
>oReindex.show()
>
>If the .WINDOWTYPE property is set to MODAL everything works fine. If it is
>set to MODELESS, the screen flashes on the screen and then is gone.

If I'm correct, your form leaves the screen as soon as oReindex goes out of scope. The quick and dirty way would be to bind it to a Public variable: you could also write a loop in the procedure above, after the .Show(), which sat and waited for your form to go away before exiting.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform