Link to home
Start Free TrialLog in
Avatar of asi
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
Avatar of JimBob091197
JimBob091197

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
ASKER CERTIFIED SOLUTION
Avatar of mvz121697
mvz121697

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial