?
Solved

panels on Tscroll

Posted on 1998-01-20
2
Medium Priority
?
165 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 100 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

752 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