asi
asked on
panels on Tscroll
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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