Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Click event for mmOpenFileDialog controls
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01175018
Message ID:
01186465
Vues:
35
James.

>But now I need to determine what the user did. Did he click the Save button or the Cancel button on the file dialog. How do I get access to the click events for those buttons?

You can determine if the user clicked Cancel because no value is stored back into txtFileName.Text. Unforunately, Microsoft's OpenFileDialog (which we're using behind the scenes) does not give you access to the Click event of these buttons, so there's no way you can create handlers for them.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform