> It's that top-aligned and bottom-aligned controls have higher priority that > left-aligned and right-aligned controls.
Thanks Rob. I didn't knew that. But anyway, supose I will encounter other situations where I can't use a scroll box. It will be a way to align something to the right before other components aligned to top? --- Rob Kennedy <[EMAIL PROTECTED]> wrote: > Human wrote: > > 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. > > It's not that TImage and TSplitter have higher priority. It's that > top-aligned and bottom-aligned controls have higher priority that > left-aligned and right-aligned controls. > > > 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? > > TScrollBox is the elegant solution. You get all your program's scrolling > code free. > > -- > Rob > __________________________________________________ > Delphi-Talk mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi-talk > ...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
