Scrollbox with a Tupdown control for scrolling (so no scrollbars)

Posted on 2004-10-30
Medium Priority
Last Modified: 2010-04-05

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
Question by:joyrider
LVL 12

Accepted Solution

Ivanov_G earned 2000 total points
ID: 12452549
Just a suggestion - use TNotebook (from Win 3.1 tab). It has pages - you can add pages dinamically and instead of Scrolling down and up, you can show the next tab. This will be simple and easy solution for your needs. If you still need TScrollBox - you can create TScrollBox on the tab and set its align to alClient.

Of course it will not work if you want to display graphic.

Author Comment

ID: 12453010
Didn't knew about Tnotebook it's just what i needed, I can create pages and use a TupDown to control which page is active. Thanks !

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.

593 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question