Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Need to add a v-scroll bar to a form

Posted on 2006-03-27
7
Medium Priority
?
188 Views
Last Modified: 2010-05-18
I dragged the item over but have no idea how to make it work. I looked on the web and didn't find what I was looking for, just need to scroll the form not a textbox or picturebox. Any ideas on how I can get this to work? Thank you.
0
Comment
Question by:Kit_Kat111
  • 4
  • 3
7 Comments
 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 16302487
Don't use a ScrollBar...

Set the AutoScroll property of the Form to True:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsScrollableControlClassAutoScrollTopic.asp

When appropriate, Scrollbar(s) will appear on your form automatically...
0
 

Author Comment

by:Kit_Kat111
ID: 16302823
I did set the autoscroll on the form control to "True" to work, but if a user had the form "restored down" it will not show even though there are stuff not being viewed is there any go around for that or not really worth it?

Thanks for your help.
0
 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 16302851
"but if a user had the form "restored down" it will not show even though there are stuff not being viewed"

I'm not following your description...could you describe in more detail what is happening?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:Kit_Kat111
ID: 16305230
When the window(form) is not minimized or maximized.

0
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 2000 total points
ID: 16305977
Ok....the scrollbars will still appear automatically if there is a control outside of your forms visible area.

(given that AutoScroll = True)

You are saying that you have controls out of the visible area and the scrollbars are not appearing?  If this is the case then we probably need a better description of your application and/or the forms layout.
0
 

Author Comment

by:Kit_Kat111
ID: 16386418
Sorry I haven't forgotten about this question just have been dragged away on something unexpected. I will try your suggestion and post back tomorrow. Thank you for your help and patience.
0
 

Author Comment

by:Kit_Kat111
ID: 16559027
Thanks for your help!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Integration Management Part 2
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question