General information
Category:
Forms & Form designer
>That's weird - I have even tried a few ideas to stop the TL from closing with no READ EVENTS, but am unable to do it outside the vfp environment. The 'Modal' setting doesn't make any difference to a TL...
>
>You may have discovered some odd situation...if you're curious, you can try creating a fresh TL (which you will find closes quickly with no READ EVENTS) and add your code in chunks to see what causes it to stay open...
Bruce, first I used my current form, removing everything, leaving just the exit button. I removed everything other than settings from the prg file, under vfp it still ran and stopped until exit was clicked. I compiled it, closed vfp and ran the exe - it still ran perfectly.
Then I created a new form, added a formset, gave it the same name, put one exit button on it, releasing the form.
Settings:
Formset.windowtype=1 - modal
Formset.Autorelease=.t.
Formset.Datasession=1
Form.showwindow= 2 - modal
Form.windowtype=1 - modal
It ran fine it the vfp environment, and when compiled ran fine as well outside the vfp environment. In case it makes any difference, I am still using vfp5a, not 6.
David
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