Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More MODAL forms
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00115397
Message ID:
00115439
Views:
18
>Leighton,
>
>Yes, exactly. Modify your code to htis for a modal form;
>
>
>this.addobject('oReindex', 'frmReindex')
>
>with this.oReindex
>   .setall('fontname', this.FontName)
>   .setall('fontsize', this.FontSize)
>   .show()
>endwith
>
>* Release the external reference to the form object
>THIS.oReindex = NULL
>
>return
>
>
>The above will not work well for non-modal forms.

I modified the code as specified. When ran, the app is waiting at the .show statement (as it should) for the window to be released. Once I get to the this.oReindex = NULL statement there is no oReindex.
I added a Close button with thisform.release, but if my users use the close button on the title bar, the form just sits there until they press the new Close button.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform