[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Scrollpane remember Position on Workpage change  XML
Forum Index -> Development
Author Message
mbreyer

Power User

Joined: 02/07/2013 16:08:31
Messages: 42
Location: Cologne
Offline

Hi,

we have scrollpanes on large pages.
For example they are completely scrolled down.
Now I switch to another workpage to copy some text or something like this.
I switch back, now the Scrollpane is scrolled to top again, that is very annoying.

Is it possible for the scrollpane to remember the positon when the workpage is switched?

Regards,
Mario
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

what we could do: have a SCROLLPOSITIONHORIZONTAL and SCROLLPOSITIONVERTICAL attribute that writes back the current scroll position into an expression of yours. Then you may store this info, so that it is reapplied when bringing up a screen again.

OK with you?
If so: we could add it for next update...

Regards! Björn

Björn Müller, CaptainCasa GmbH
mbreyer

Power User

Joined: 02/07/2013 16:08:31
Messages: 42
Location: Cologne
Offline

Hi,

yes that would be a solution for us.
Thanks.

Regards,
Mario
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

...OK... Will be added.
Regards, Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

...improvement is part of update 20140331...
Björn

Björn Müller, CaptainCasa GmbH
mbreyer

Power User

Joined: 02/07/2013 16:08:31
Messages: 42
Location: Cologne
Offline

mhh it doesn't work for me.
Im scrolling down and switching the workpage.
The value "0;120" is set.
Now i switch back, the value "0;120" is read, but the scrollpane is displayed with a postion of "0;0".

Regards,
Mario
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

Hi,

thanks for the feedback.

I believe I know where the problem is. In your scenario the scroll pane on client side is generated (by the page switch) and immediately the scrolling is applied. So the content of the scroll pane may not be fully built up yet. So we have to do the scrolling after the content being fully sized.

Sorry, I should have checked this before. We will fix and bring up a second version of today's update asap (so you do not have to wait for a week).

Regards, Björn

Björn Müller, CaptainCasa GmbH
mbreyer

Power User

Joined: 02/07/2013 16:08:31
Messages: 42
Location: Cologne
Offline

Hi,

well it's not that urgent. We could also wait until next week.
But, thanks for the quick response.

Regards, Mario.
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

...now or never! ;-)
Regards, Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5555
Offline

...we updated to 20140331_2 in the meantime. Here the problem is solved.

Thanks + regards!
Björn

Björn Müller, CaptainCasa GmbH
mbreyer

Power User

Joined: 02/07/2013 16:08:31
Messages: 42
Location: Cologne
Offline

works fine now, thanks!!!

Regards,
Mario
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team