Loading...

SetVScrollBarPosition

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

SetVScrollBarPosition

Postby kviral » Thu Mar 25, 2010 3:28 pm

Hi Loic,

My prob is that, when i set SetVScrollBarPosition property to 0, it does not come into effect if i set it at initial level, but only if i set this property after a single page change to next page or specific no. of page and that also with some flik in page as if first it goes to its default scroll position than after moves to 0.
could you please help me to get rid of it and let my scroll position always at 0 ?
my code is as bellow which is working find but with the prob. i've mentioned.

Code: Select all
       
GdViewer1.DisplayFrame (ListView1.SelectedItem.Index)
GdViewer1.SetVScrollBarPosition (0) '25-Mar-2010


But following code wont work
Code: Select all
        GdViewer1.SetVScrollBarPosition (0) '25-Mar-2010
        GdViewer1.DisplayFrame (ListView1.SelectedItem.Index)


With Above code scrollbar wont move to top before loadign a page or next page. Even if i set this property at the time of loading a file it does not come into effect.

Please advice.
Thank you,

Viral Kothari
Software Eng.
Image
User avatar
kviral
 
Posts: 54
Joined: Thu Oct 01, 2009 3:53 pm
Location: Tarrytown, NY

Re: SetVScrollBarPosition

Postby Loïc » Thu Mar 25, 2010 6:10 pm

Please have a look on the ImagePosition property to fix this issue.

With best regards,

Loïc Carrère
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4437
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: SetVScrollBarPosition

Postby kviral » Thu Mar 25, 2010 6:14 pm

Which imageposition could be the best to avoid this prob?
Thank you,

Viral Kothari
Software Eng.
Image
User avatar
kviral
 
Posts: 54
Joined: Thu Oct 01, 2009 3:53 pm
Location: Tarrytown, NY

Re: SetVScrollBarPosition

Postby Loïc » Thu Mar 25, 2010 6:26 pm

TopLeft, TopRight or TopCenter...
Make your choice !

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4437
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 3 guests

cron