all groups > dotnet windows forms designtime > october 2005 >
You're in the

dotnet windows forms designtime

group:

Scrolling and Toolbar problem


Scrolling and Toolbar problem Fiaz Ali Saleemi
10/19/2005 10:55:33 PM
dotnet windows forms designtime:
Hi All

I have a form which contains Toolbar at the top. Form is scrollable when I
scroll the form Toolbar also get scrolled and disappeared. What would be the
best solution to overcome this issue. Any help will be appreciated.

Thanking in advance
Fiaz Ali Saleemi

Re: Scrolling and Toolbar problem Tim Wilson
10/20/2005 7:43:28 AM
Place a ToolBar and a Panel on the Form. Ensure that the ToolBar is docked
to the top and then ensure that the Panel is set to fill the remaining area
by setting its "Dock" property to "DockStyle.Fill". Next, set the Panels
"AutoScroll" property to true and add any controls to the Panel.

--
Tim Wilson
..NET Compact Framework MVP

[quoted text, click to view]

AddThis Social Bookmark Button