Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Please see the ResolvedConflicts procedure of the baseform class. You will see:
#DEFINE PROMPTTOSAVE_LOC "Data has been changed. Would you like to save changes?"
And then lower down in the method:
nPromptSave = MESSAGEBOX(PROMPTTOSAVE_LOC,35)
If you comment out the line above, the messagebox will go away.
If you've already done this and it still doesn't work, USE the VCX, pack it, and recompile.
Dave
>I am only a beginner trying to convert old DBASE IV programs to Visual FoxPro. I used the Wizard to create forms to add records and make changes to tables in place of the @..say, get commands from past history. Every time the user clicks on command buttons I've created for them to Save/Exit or Cancel/Exit another MessageBox comes up saying "Data has been changed. Would you like to save changes?" I have traced where this is coming from but I don't know how to get rid of it. It comes through the wizbase.vct - baseform - resolveconflicts. So I need to know how to keep that from appearing. I tried removing the Class Libraries, but everytime I rebuild the EXE it puts them back. I'm stumped.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement