Hello.
I had some problems in the past with the alignment of a control. 
Now I have it again:
I want to let the user to insert in a TPanel several images separated by 
several TSplitters.
All images and splitters are aligned to alTop so the user can resize the images.

If the user will insert to many images, it will go out of Panel.
In that moment I want to create a TScrollBar to the right side of the Panel to 
allow the user to
scroll down.
Ofcourse the scrollbar must be aligned to alRight.

Here is the problem:
TImage and TSplitter have 'higher' priority then TScrollBar and the scrollbar 
will be aligned to
the right side as expected but UNDER the images and splitters.
Just put on a form a panel, a splitter and a scrollbar and you will see the 
problem.

How to force the scrollbar to align to the right side of that pannel, form TOP 
to the BOTTOM?

------------

I know Delphi had several bugs in the past with TScrollBar.
Also I know that it might be posible to replace the TPanel with a TScrollBox.
Anyway, I want to know if there is an elegant solution to this problem?

...and the traveler died, stroked by the beauty of the landscape.

THE MORNING OF THE MAGICIANS
Louis Pawels & Jacques Bergier


                
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to