Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does one prevent a form from being deactivated?
Message
 
 
À
04/10/2003 05:48:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00834295
Message ID:
00835116
Vues:
19
Peter,

I think your users are going to get real peeved at this sort of interface. One reason for having a multiform interface is to allow the user to go back and forth between forms to get their job done. For example Word doesn't keep asking you to save shanges as you switch from one document to another.

If you are using private datasessions, and buffering it's not very hard to commit or revert their changes when they want to.

>I think I've solved it - just added at messagebox, 'Save changes?' Yes No (if there are any) in the forms Deactivate method. It's not as elegant as I'd hoped for, since the form being activated is on top, but it seems to work. Maybe I should try to put it in the LostFocus method instead.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform