Article View: borland.public.csharpbuilder.ide.general
Article #133Accessing the component "Name" property
From: Francois PIETTE [ICS - MidWare]
Date: Thu, 03 Aug 2006 16:25
Date: Thu, 03 Aug 2006 16:25
21 lines
1849 bytes
1849 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 ? Any advice appreciated. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- francois.piette@overbyte.be The author for the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be
Technical Details
Message-ID:
<44d223ec@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 165859,b80637074c138806,start 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 Subject: Accessing the component "Name" property Date: Thu, 3 Aug 2006 18:25:55 +0200 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 81.243.165.80 Message-ID: <44d223ec@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1154622444 81.243.165.80 (3 Aug 2006 09:27:24 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!newsfeed.icl.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail