Solved

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

Posted on 2006-11-20
1
442 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

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
Save json data from URL using SSIS 1 28
need to convert function to c# 5 45
Problem to Office 1 44
Nested forach loop to linq 3 29
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

733 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