Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Show Question
Message
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00929044
Message ID:
00929048
Views:
10
David,

When the oFrm memvar goes out of scope it'll take the form with it. So you'll have to keep the memvar in scope for the lifetime you want for the form.

>I saved a form as class, but after following code
>
>oFrm=newobject(“form1”,”library”)
>oFrm.show
>
>The form appears for a second and vanishes. If I chang the form to MODAL or
>oFrm.Show(1) then it stays but I want multiple instances, any advice?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform