Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scroll Bar

Status
Not open for further replies.

reidfl

Programmer
Sep 17, 2001
54
US
How do you prevent your container from scrolling over the menu bar? I'm using a picturebox as the container. I noticed that the container scrolls under the menu bar.

Any help would be grateful.

Thanks
reidfl
 
I'm using a picture box as a container to hold all my form objects (i.e. Textboxes,comboboxes...). When I use my scroll bar the picture box scrolls all the way up and all the down this is exactly what I want. However the picturebox scrolls over the toolbar but under the menubar.

My toolbar has two buttons (copy and paste). If the user resizes the form and has to scroll up to see a particular section on the form (which the user do quite often). I want the picturebox to scroll under the toolbar so the user can still have access to the toolbar buttons (copy and paste).

 
Try right-clicking the toolbar in design mode and select "Move to Top" from the context menu.

Kevin
 
put your picbox inside another picbox, adjust new picbox to permenent placement/size on form. scroll original picbox Tim

Remember the KISS principle:
Keep It Simple, Stupid!
 
I solve the problem.

I used a coolbar control and placed a toolbar control in it. Placed my buttons on the toolbar and handled the button events as usual. Now my picture box scrolls under my coolbar/toolbar.

Thanks for the suggestions.

reidfl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top