Hi,
I am adding a box primitive in my chart based on the mouse events. I wanted to know, How can I resize the bounds of my primitive when the window state of the form changes from Normal to Maximized and vice-versa.
Thanks and Regards,
Uday
In this case you need to recalculate the bounds of your primitive and to redraw it. UltraChart is doing this automatically for its primitives, but for the primitives that are added from the user we can't know whether we need to resize them.
Thanks for the mail. Can you send me a sample code as to how can I recalculate the bounds of the rectangle based on the window position.