Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
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…
Suggested Courses

609 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