Solved

panels on Tscroll

Posted on 1998-01-20
2
149 Views
Last Modified: 2010-04-04

why when i"m using Tscrollbox and i put on it panels with Tpanel.align:=alTop there is no scrolling (there is no scrolling bars altough the panels cross the Tscroll area ?
what can i do that they (the scroll bars) will apear ?
10x
asi
0
Comment
Question by:asi
2 Comments
 
LVL 5

Expert Comment

by:JimBob091197
ID: 1357089
Do you mean that there is no horizontal scrollbar?  If so, set:
  Panel.Align := alNone;
  Panel.Left := 0;
  Panel.Top := 0;
  Panel.Width := NewWidth;  // Make this wider than TScrollBox.

When you set Align = alTop, the width is changed to the same as the scrollbox, so there are no horizontal scrollbars...

Regards,
JB
0
 
LVL 2

Accepted Solution

by:
mvz121697 earned 50 total points
ID: 1357090
A workaround i use is:

Place a label-component on the scrollbox, just at the bottom line of the Tpanel. Make the caption of the label empty, so its not visible.
Then the scrollbar works.

Greetings,
MvZ
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now