Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simplest way to prevent Deactivate in the page's Click
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01027764
Message ID:
01027991
Vues:
16
Nadya,

>if thisform.IsChanged()

Your problem would be solved if the above method only returned .T. when some real data change had been made.

>E.g. I want to save pending changes if I'm switching pages. It works, but the question is also fired when I click on the same page. I need to prevent this from happening. I spent about 3 last hours trying to overcome the problem, but I'm about to give up.

I don't know about you, but my personal opinion on this is as a user I'd be hugely annoyed if I had to keep answering that question everytime I made a data change and then wanted to switch pages to see something and come back again to finish the prior page.. especially if there is perfectly fine Save button staring me in the face that I can click any time I have made enough changes to the data to warrant a commit of the data to the database.
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