Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MonthView and GetDayBold error -- again
Message
De
20/08/2001 18:02:07
James Hansen
Canyon Country Consulting
Flagstaff, Arizona, États-Unis
 
 
À
20/08/2001 01:47:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00546030
Message ID:
00546479
Vues:
24
OK. Here's the story:

Changing the month on the MonthView by clicking on the Next Month or Previous Month buttons or by clicking on a visible date not in the current month invokes the form's Error method. In my case, the CodeBook 6.1 form has an error handler in the base form class, so it reports the error.

The interesting thing is that if I remove all code from the Error event, the FoxPro error handler is not invoked and the control works just fine. Actually, if I Ignore the error the control works fine too.

Now the question becomes: Where do I point the finger of blame for this situation? The MonthView control for somehow invoking the Error event? FoxPro for not fielding the error if I have no code in the Error event? Or is it just that "This behavior is by design"?

...Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform