Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cancel Button on Modified mmMaintenanceForm
Message
De
25/04/2008 18:36:52
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
MS SQL Server
Divers
Thread ID:
01312518
Message ID:
01313227
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform