Jump to content


Photo

Select Cell and set Position of Scrollbar


  • Please log in to reply
5 replies to this topic

#1 nano

nano
  • Members
  • 26 posts

Posted 27 March 2013 - 11:24 PM

Hi Broke

I'm using a ListBox like an index of content. After clicking on an item, the same cell in the Sheet is selected.
How can I change the scrollbar to the new selected row? The cell is selected, but the scrollbar is still at the same position.

Thanks
Nano

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 29 March 2013 - 05:22 PM

Hi,

Do you use ScrollToCell method?
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 nano

nano
  • Members
  • 26 posts

Posted 29 March 2013 - 05:30 PM

There is no ScrollToCell-Method on the NextSheet...

#4 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 30 March 2013 - 04:13 AM

Sorry, I now see that I miss this method.

I will add it now, and you will be able to use it in 2 days (released on April 1 (no April's fool ;)))
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#5 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 30 March 2013 - 04:23 AM

You will look for ScrollToSelected method in 1.8.5
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#6 nano

nano
  • Members
  • 26 posts

Posted 30 March 2013 - 04:48 PM

Thank you very much.
One other thing about the next sheet.
LoadFromTextFile (csv) only works with unicodefiles.
If I export a csv-file from excel, it doesn't work. I have to re-save it in notepad as unicode. An autodetection would be nice... :)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users