Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Extensibility / February 2005

Tip: Looking for answers? Try searching our database.

Properties Window: Custom object name in drop-down

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hermo Terblanche - 03 Feb 2005 12:31 GMT
Hi,

How do I instruct the Properties Window to display a custom string in the
object name drop-down list for the selected context/item?

Currently it displays the fully qualified class name of my object.

Any help would be greatly appreciated.

Regards,

Hermo
Hermo Terblanche - 04 Feb 2005 13:29 GMT
Hi,

According to information at this link:

http://msdn2.microsoft.com/library/6932yca4.aspx

"If the object does not have a Name property, a name is not displayed in the
Name area of the object list. You can add a Name property method to the
object if you want the name displayed in the object list."

My object does have a name property, but still no name for the object is
displayed in the drop down list of the Property Window. Only the type name is
displayed.

I am working with a managed object here that implements ISelectionContainer
and expose properties.

What am I missing?

Regards,

Hermo

> Hi,
>
[quoted text clipped - 8 lines]
>
> Hermo

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.