Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto Closing forms
Message
De
04/08/1998 18:39:55
Bob Lucas
The WordWare Agency
Alberta, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00123111
Message ID:
00123936
Vues:
25
>>>>Yes, I think that putting a timer that closes a window on every 30 minutes of inactivity, using MouseMove, MouseDown and KeyPress to reset the timer, will be ok. But what about a modal form ? Suppose that I have 3 non-modal forms opened and I call a modal form from one of them. What would happen ?
>>>>
>>>>Regards,
>>>
>>>I am not really sure, but the forms collection should be able to close the modal forms in order.
>>>
>>>BOB
>>
>>
>>I think modal forms can cause a problem. I have a quit routine that closes all open windows but then the users found a problem when a modal lookup window was active. This window got closed okay, but the window that called it didn't. What I traced it to was the fact that the calling program was in the middle of execution in a method, and it won't close until that method has finished, but the global close method has no way to wait for the calling forms method to finish executing before trying to close it. Messy. I don't think there is a good solution to this, other than making 'phony' modal windows. The thing is, the modal form was a selection list and I had to wait for the user to make a selection before carrying on.
>
>Thanks for your input Bob. Did you get a solution ? I mean, is it working now ? Can you explain me what is a 'phony' modal window ?
>
>Regards,


Basically, it is a non-modal window that has properties such that the application reacts as if it were modal (can't bring other windows on top, can't access the menu, etc.) This functionality is usually built into the application framework so that different objects know how to react based on properties. etc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform