Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cancel Button on Modified mmMaintenanceForm
Message
From
25/04/2008 18:36:52
Timothy Bryan
Sharpline Consultants
Conroe, Texas, 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:
01313227
Views:
13
Hi Kevin,

>>Well the property for FocusOnCancelControl works in the sample application with it set to the btnNew control. There isn't any additional code or methods in the sample app for this to work. Since I wasn't actually retrieving any data in my test I suspect that had something to do with why the cancel method wasn't firing until I forced it. Frank, you may want to look through the sample Employee maintenance form and compare to what you are doing.
>
>So, all said and done, you were able to get both the FocusOnCancelControl and the SetFocus() method to work?
>
>Best Regards,
Well, no not exactly. I saw the FocusOnCancelControl was working in the sample app so I am sure I could figure out why it didn't work for me. This wasn't initially my question but I was trying to help. I didn't get either to work with my quick test but I wasn't actually retrieving any data. I just created a connection and a form and hooked up binding to a table and so clicking New button gave me the property tab but cancel never worked with either method. I suspect it was because I didn't really finish all that was needed. Since I saw there was a good example for Frank to look at I figured he could figure it out from there. I am sure I could if I needed.
Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform