Information générale
Catégorie:
Contrôles ActiveX en VFP
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement