Solved

panels on Tscroll

Posted on 1998-01-20
2
160 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
[X]
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
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 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