Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MonthView and GetDayBold error -- again
Message
From
20/08/2001 18:02:07
James Hansen
Canyon Country Consulting
Flagstaff, Arizona, United States
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00546030
Message ID:
00546479
Views:
29
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform