Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cancel Button on Modified mmMaintenanceForm
Message
 
To
22/04/2008 19:29:30
Frank Dolinar
Mi House of Representatives
Michigan, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
MS SQL Server
Miscellaneous
Thread ID:
01312518
Message ID:
01312550
Views:
13
>I admit to being particularly dense where this is concerned, but I'm stumped.
>I have an mmCancelButton on a modified mmMaintenanceForm (yes, I modified the framework code ad Kevin's suggestion).
>The mmCancelButton is on the PropertiesPage of the tabControl on the mmMaintenanceForm.
>I want to add one behavior to the cancel button, when I click on the cancel button on the end user form (derived from the mmMaintenanceForm), I want the CancelHandler in mmButtonHelper to do its magic (which it does), and then I want to select and bring forward the ListPage of the tab control.
>
>I have not yet figured out how to do this after several attempts, which included looking for relevant topics in the MM.Net user guide and trolling the internet with Google's help.

Try calling the SetFocus() method of the parent form, passing a reference to the control you want to have focus.

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
Next
Reply
Map
View

Click here to load this message in the networking platform