Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More MODAL forms
Message
From
08/07/1998 14:37:45
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00115397
Message ID:
00115403
Views:
15
>This should be simple. I've tracked it down to the WindowType property. I have a form (created through AddObject) that, when Modeless, can be closed using the close button on the title bar in the upper right hand corner of the form. When the form is Modal, I click on the close button and it just turns grey and the screen is still displayed and active.
>
>Can you close a modal form with the close button? Is there an event that is firing which needs a "thisform.release"?
>
>Thanks,
>
>Lee

Firstly, it's no problem to close modal form. You could try to 'strengthen' code by Release Thisform. In some situations, the failure to close normally may indicate that some form property holds reference to some object and all these references should be set to .NULL. in Form.Destroy event.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform