Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Click event for mmOpenFileDialog controls
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01175018
Message ID:
01186465
Views:
34
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
Previous
Reply
Map
View

Click here to load this message in the networking platform