OnAfterDraw event
Posted: Mon Jun 28, 2004 3:21 am
Hi,
I have created a form with about 4 charts. Each chart goes through a common OnAfterDraw event where I draw custom drawings on the chart. Btw, I am using VBA in MS Access.
Right now, I am still in the development stage and testing stage. I noticed that if I directly open the form(meaning, while the form is closed, I will click on it in the forms tab), I don't get any problem. However, if I first open the form in design view, then run the form, I noticed that instead of drawing the chart, it first goes through the OnAfterDraw event. So, naturally, I will get an error because no chart is drawn yet.
I think this is a bug. Is this a known bug?
Thanks,
Nina
I have created a form with about 4 charts. Each chart goes through a common OnAfterDraw event where I draw custom drawings on the chart. Btw, I am using VBA in MS Access.
Right now, I am still in the development stage and testing stage. I noticed that if I directly open the form(meaning, while the form is closed, I will click on it in the forms tab), I don't get any problem. However, if I first open the form in design view, then run the form, I noticed that instead of drawing the chart, it first goes through the OnAfterDraw event. So, naturally, I will get an error because no chart is drawn yet.
I think this is a bug. Is this a known bug?
Thanks,
Nina