Home All Groups Group Topic Archive Search About

shortcut key to access property panel

Author
26 Apr 2006 1:20 PM
herpers
Hello,

when working with vb6 I found it very useful that the properties panel
could be accessed with a shortcut key during form design. When pressing
ctrl+shift+<letter> the first property in the property panel starting
with <letter> was highlighted.

Does anybody know how to do the same in .net?

Thanks,
   Sascha

Author
26 Apr 2006 3:03 PM
Carlos J. Quintero [VB MVP]
Hi Sascha,

I don´t think that is possible in VS.NET since the Properties window is
implemented with a toolwindow and a System.Windows.Forms.PropertyGrid
control. This control is reusable and therefore not highly integrated with
VS.NET. You pass it an object (or object array) and it handles everything,
raising an event when a property value changes. Apart from that it offers
little or no functionality for your request and most of its implementation
is protected/private.

If you want to consider 3rd party tools, my MZ-Tools add-in provides a
Control Explorer feature with a property grid that allows you to customize
which properties you want to see in it, rather than the dozens of properties
of the typical control. Maybe it can help you.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com


<herp***@wiso.uni-koeln.de> escribió en el mensaje
Show quoteHide quote
news:1146057612.702533.219340@u72g2000cwu.googlegroups.com...
> Hello,
>
> when working with vb6 I found it very useful that the properties panel
> could be accessed with a shortcut key during form design. When pressing
> ctrl+shift+<letter> the first property in the property panel starting
> with <letter> was highlighted.
>
> Does anybody know how to do the same in .net?
>
> Thanks,
>   Sascha
>