Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show a modeless form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00450274
Message ID:
00450287
Views:
34
>Hi all,
>
>I have a modeless form with two buttons. One of these buttons creates a form object. This form object is modeless.
>When I create this object and I shows, it hides/closes directly. How can I prevent this without setting the windowtype
>property to 1 (Modal). Anybody an idea?
>
>Sander
When you create a form with createobject you create an object reference.
This reference is a local reference.
When the method that creates the form is finished the object reference (which is a local var) will be released.
This also releases the form.
What you can do is creating a property on the first form to be the placeholder of the second form.
In that case the second form will stay.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform