Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MMPicker Control Error Handling
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01317334
Message ID:
01317539
Vues:
16
This message has been marked as the solution to the initial question of the thread.
Yassin,

>Where do I put my try catch block when someone clicks on mmpicker control. I want to prevent the error handling going to the Main entry catch block.
>
>
>I have my Try catch on the SetParameters Event Handler but when there is an error it jumps to the main entry main.vb catch block and not the SetParameters procedure catch block.

I recommend subclassing the mmPicker control and overriding the PerformSearch() method and placing your try/catch there (calling the base class method in the try()).

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform