Article View: borland.public.csharpbuilder.ide.general
Article #136Re: Accessing the component "Name" property
From: Francois Piette [ICS & Midware]
Date: Fri, 04 Aug 2006 06:35
Date: Fri, 04 Aug 2006 06:35
29 lines
1980 bytes
1980 bytes
> > When I create a component (A classe deriving from > > System.ComponentModel.Component) and install it in the IDE, I see there is a > > Name property shown in the object inspector. This property is displayed in > > parenthesis and doesn't seems to be accessible from my own code ! > > > > If I create a Name property myself, it works perfectly but the object > > inspector show my "Name" property and the his "(Name)" property (note the > > parenthesis). > > > > So my question is: How do I access the Name property shown by the object > > inspector or how can I have my Name property override the one shown by the > > obejct inspector ? > > Basically you can't, all .NET components work the same way. I don't believe I can't access the "(Name)" property by code within the component class. I will ask on MS newsgroups... Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- francois.piette@overbyte.be Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be
Technical Details
Message-ID:
<44d2eafa@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44d223ec@newsgroups.borland.com> <m1p14y1fhmc$.dlg@dlg.marcrohloff.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 165859,b80637074c138806 X-Google-Attributes: gid165859,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Francois Piette [ICS & Midware]" <francois.piette@overbyte.be> Newsgroups: borland.public.csharpbuilder.ide.general References: <44d223ec@newsgroups.borland.com> <m1p14y1fhmc$.dlg@dlg.marcrohloff.com> Subject: Re: Accessing the component "Name" property Date: Fri, 4 Aug 2006 08:35:15 +0200 Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1807 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 NNTP-Posting-Host: 62.197.126.228 Message-ID: <44d2eafa@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1154673402 62.197.126.228 (3 Aug 2006 23:36:42 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail