OnViewRangeChanged event


Author
Message
André Spitzner
André Spitzner
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)
Group: Forum Members
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.


Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

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


André Spitzner
André Spitzner
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)
Group: Forum Members
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.


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search