Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I know if a user clicked a save or a saveas on wo
Message
 
 
À
01/03/2001 16:32:43
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00481124
Message ID:
00482395
Vues:
11
>I binding events from word using vfpcom. What did I find available for a save.. only a "DocumentBeforeSave()" event. Here is my delima; inside the documentbeforesave event, I need to be able to tell the difference between a user clicking the save and a user clicking the saveas (both fire the same documentbeforesave event)

Don't know if it will work but can you check the second parameter of DocumentBeforeSave (SaveAsUI) to determine if it is .T.? If so, they clicked SaveAs.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform