Group: Forum Members
Last Active: 7 Years Ago
Posts: 2,
Visits: 2
|
Hi, is there a way to connect to a event when the ViewRange or PageRange is changed? I have see the Scrollbar has such a event, but its only fired if someone scroll, but this is not what i want. The way with the OnAfterpaint callback is also not usable for me.
|
Group: Forum Members
Last Active: 2 days ago @ 1:54 AM
Posts: 3,054,
Visits: 4,009
|
Hi Andre, If you're using the NDataZoomTool to modify the range you can hook to the EndDrag event there: dataZoomTool.EndDrag += new EventHandler(dataZoomTool_EndDrag);
.... void dataZoomTool_EndDrag(object sender, EventArgs e) { // do something on end drag }
Hope this helps - let us know if you meet any problems.
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 7 Years Ago
Posts: 2,
Visits: 2
|
Yes, thats it. Thank you. I use this events as well for moving constant lines and so on. Sometimes i can not see the forest for the trees. Too much lines of code in my head.
|