Challenging Questions

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

1. How (can) I open and close all my regions on in a page at one time.
2. Can I add tooltip information to my class so when one goes creates an
instance I have more information then just the constructor.

I will grade well if answered...I promise.
I am making an effort to not forget and grade the responses.

Thanks!
 
Sean said:
1. How (can) I open and close all my regions on in a page at one time.

I only have 2k3 in front of me right now but ... Right click on it (the + or
-) and use toggle all outlining (also collapse to definitions etc) ...
http://msdn.microsoft.com/library/d...ry/en-us/vsintro7/html/vxtskoutliningcode.asp
may be of some use as there are also keyboard shortcuts for the outlining
such as ctrl+m ctrl+m
2. Can I add tooltip information to my class so when one goes creates an
instance I have more information then just the constructor.

Are you using C# or VB.NET? in C# if you use a summary XML doc, this
behavior is provided ...
 
Not following you on (1). Primarly I am intrested in closing all my regions
within one file with one click/keyboard. I bet you are right its a quick key
of some kind.

Item 2....Works perfecctly!!! Thanks, exactly what we need.
 
For item one, it will toggle all of your outlining (not just your regions).

If you look at a region .. to the left you will see a little + if it is open
.... - if it is closed ... if you right click on this a context menu will pop
up .. go to the outlining submenu and click "Toggle all outlining" ... the
document included just includes some further discussion on the other options
as well as some key mappings :)

Cheers,

Greg
 
Back
Top