Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing a modal form
Message
 
 
To
27/05/2023 08:25:58
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01686646
Message ID:
01686649
Views:
35
>>Hi,
>>
>>Can you programmatically close a modal form when a user clicks anywhere outside the form?
>>
>>TIA
>
>Try the question the other way around. Is there any event that fires if you click outside a modal form? Try SET EVENTTRACKING and the stuff around. If you see an event firing you might use this, if not, then not.
>
>Note, clicking outside means clicking outside the form inside VFP as well was as outside, what is different.

I have never done eventtracking. So, this is another thing to learn and expose the app to possible errors. If I cannot programatically close the form, I will have to give the customer a Cancel or Close button.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform