Hi Leighton,
Call the Click() event of your close button from QueryUnload() of your form and the Click() event of your close button should look something like this...
thisform.oReindex = .null.
RELEASE THISFORM
>>
>>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.