Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 5 of 5 total |
TScrollPanel |
Sat, Jul 23 2016 1:11 PM | Permanent Link |
thomh | Hi,
Is there a way in code to move to the top and bottom of a TScrollPanel, i.e. without using the scrollbars? Something like ScrollPanel1.ScrollTop/ScrollBottom? // Thom |
Sat, Jul 23 2016 4:11 PM | Permanent Link |
Matthew Jones | <thomh> wrote:
> Hi, > > Is there a way in code to move to the top and bottom of a TScrollPanel, > i.e. without using the scrollbars? > Something like ScrollPanel1.ScrollTop/ScrollBottom? > > // Thom > > There is a property you can set to do this. I'm away today so can't tell you the name. You specify the scroll value, and zero is top. -- Matthew Jones |
Sat, Jul 23 2016 8:02 PM | Permanent Link |
Trinione | Not sure if this is what you are referring to. I just recall seeing it before.
--------------------------------- There is a new Application Viewport ScrollBy method for programmatically scrolling the browser viewport. http://www.elevatesoft.com/manual?action=viewmethod&id=ewb2&comp=TViewport&method=ScrollBy |
Mon, Jul 25 2016 9:34 AM | Permanent Link |
Matthew Jones | Matthew Jones wrote:
> There is a property you can set to do this. I'm away today so can't > tell you the name. You specify the scroll value, and zero is top. pnlDetail.ScrollTop := 0; Seems to be what I'm using. -- Matthew Jones |
Mon, Jul 25 2016 3:24 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Thom,
<< Is there a way in code to move to the top and bottom of a TScrollPanel, i.e. without using the scrollbars? Something like ScrollPanel1.ScrollTop/ScrollBottom? >> Yep: http://www.elevatesoft.com/manual?action=viewprop&id=ewb2&comp=TControl&prop=ScrollTop http://www.elevatesoft.com/manual?action=viewprop&id=ewb2&comp=TControl&prop=ScrollLeft and, for relative scrolling: http://www.elevatesoft.com/manual?action=viewmethod&id=ewb2&comp=TControl&method=ScrollBy Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Thursday, September 26, 2024 at 10:04 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |