Repaint chartspace

M

mariacp

Hi,
I'm new to OWC with VB .NET, I've been surfing through forums trying t
find the answers to some of my doubts. Hope I can get some help from an
of you.

I've rebuild the owc11 component so that I can handle events. Then I'v
reproduce this example: HOW TO: Handle Events for the Office XP Char
Component by Using Visual Basic .NET

http://support.microsoft.com/?scid=kb;en;319557

Which works ok.

Then, I've added a button, so that when I click it, the chart get
painted again.
It doesn't work!

I've used AxChartSpace1.Repaint() in the Button1_click event but i
doesn't called the Form1_load event where the chart is painted.

Any ideas?
Thanks a lot,
Mari
 
A

Alvin Bruney - MVP ASP.NET

--
Regards,
Alvin Bruney

Shameless Author Plug
[The Microsoft Office Web Components Black Book with .NET]
www.lulu.com/owc, Amazon, Barnes & Noble etc
Forth-coming VSTO.NET
 
A

Alvin Bruney - MVP ASP.NET

repaint doesn't call load, repaint repaints the chart

--
Regards,
Alvin Bruney

Shameless Author Plug
[The Microsoft Office Web Components Black Book with .NET]
www.lulu.com/owc, Amazon, Barnes & Noble etc
Forth-coming VSTO.NET
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top