Solved

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

Posted on 2006-11-20
1
450 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 86

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

726 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