Scrollbox with a Tupdown control for scrolling (so no scrollbars)
Posted on 2004-10-30
I'm looking for a control like Tscrollbox but with a Tupdown controll for scrolling instead of Srollbars.
What i'm trying to accomplish is to get a control where u have property TotalPages for example 10. A click on the tupdown down control would then scroll one page down (the size of the control) using the scrollby method. A simple check to see wheither there can be scrolled up or down by keeping a currentpage position. I can more or less create this behaviour without creating a component but the problem is that i like to be able to push on the Tupdown buttons in design time as well to scroll down in design time to add other controls on a new "page". So a Customn control would make sense.
Which parent class would i have to use etc, and is it even possible ?
Can anyone help me with this since ive never created a component and i'm clueless on how i would accomplish this all.
thanks in advance