General information
Category:
Forms & Form designer
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only