ReoGrid Forum

Fast and powerful .NET Spreadsheet Component

You are not logged in.

Announcement

This forum no longer accepts new user registrations, please report your question, problem and feedback to the issue page of ReoGrid on Github. Thanks for your cooperation.

https://github.com/unvell/ReoGrid/issues

#1 2016-03-21 16:46:18

amvandenberg
Member
Registered: 2016-02-09
Posts: 10

Get/Set absolute scroll positions

Hi,

I want to store the scroll positions and restore them at a later time. Currently, I use the WorksheetScrolled event and the ScrollCurrentWorksheet() function to accumulate the offsets to an absolute value.
However, it would be nice if I could get and set the absolute positions, because this method has its flaws. It is currently possible to get a value that is not in sync with the real absolute position when I change the number of columns, for example.

Also, being able to retrieve the maximum absolute scroll positions would be nice as well.

I was wondering what your thoughts are  on this.
Thanks in advance!

Offline

#2 2016-03-22 00:03:15

Jing
Moderator
From: jing at reogrid.net
Registered: 2014-06-03
Posts: 615

Re: Get/Set absolute scroll positions

We'll consider to add HorizontalScrollBar and VerticalScrollBar object as properties of component to provide the information of scroll-bars from next version.

Offline

#3 2016-03-22 13:20:26

amvandenberg
Member
Registered: 2016-02-09
Posts: 10

Re: Get/Set absolute scroll positions

Thanks!

Offline

Board footer

Powered by FluxBB