Solved

How to add a scroll bar to a dialog window?  (.NET / C#)

Posted on 2006-11-20
1
421 Views
Last Modified: 2012-05-05
Can someone provide me an examable of how to add a scoll bar to a dialog window?  I need to display a dialog window that goes beyond the length of the visual display and therefore would need a scroll bar to see the rest of the contents.    

CookingCalc.frmViewCCReport frm = new CookingCalc.frmViewCompReport(this);
frm.ShowDialog();
frm.Dispose();
0
Comment
Question by:Hojoformo
1 Comment
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
ID: 17980049
You can set the AutoScroll() property of the Form to True.  Design the form the way you want it to look.  Then shrink it down to a manageable size.  With AutoScroll() True, scrollbars will appear to allow you to navigate to the other controls.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

896 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now