Solved

Update multiple window forms in visual studio 2010

Posted on 2013-01-08
4
247 Views
Last Modified: 2013-01-09
I have mutliple forms in my project and I want to make sure each one has autoscroll set to true.  Is there a way to do this with code versus opening each one and setting the autoscroll (or any other thing) individually?

Thanks!
0
Comment
Question by:Karen Wilson
[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
  • 2
  • 2
4 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38757222
You can set it programmatically wherever you show those forms. Not sure which one would be more tedious though.
0
 

Author Comment

by:Karen Wilson
ID: 38758599
Couldn't I create a button and do a loop through all the forms in the application, setting it to make autoscroll = true?
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 38759473
No because its an instance property not a static property so you only set it on an instance of a form. If all you forms are already open then yes you can do this.
0
 

Author Closing Comment

by:Karen Wilson
ID: 38759667
Thanks for the information.  Keeps me from going on a snipe hunt.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Title # Comments Views Activity
How to repeat the data 4 30
TFS 2015 Access denied. 1 30
Header Font Size in Grid View 6 24
Visual Basic 6: Code needed for TripleDES Encryption/Decryption 13 36
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…

756 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