Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
385
resize the bounds of the Box primitive based on window state
posted

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

Parents
  • 17605
    posted

    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.

Reply Children