Article View: borland.public.csharpbuilder.ide.general
Article #135Re: Accessing the component "Name" property
From: Marc Rohloff TeamB
Date: Thu, 03 Aug 2006 22:53
Date: Thu, 03 Aug 2006 22:53
21 lines
1984 bytes
1984 bytes
On Thu, 3 Aug 2006 18:25:55 +0200, Francois PIETTE [ICS - MidWare] wrote: > 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. -- Marc Rohloff [TeamB] marc rohloff -at- myrealbox -dot- com
Technical Details
Message-ID:
<m1p14y1fhmc$.dlg@dlg.marcrohloff.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44d223ec@newsgroups.borland.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: "Marc Rohloff [TeamB]" <"on request"> Subject: Re: Accessing the component "Name" property Newsgroups: borland.public.csharpbuilder.ide.general User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit References: <44d223ec@newsgroups.borland.com> Date: Thu, 3 Aug 2006 18:53:46 -0400 Message-ID: <m1p14y1fhmc$.dlg@dlg.marcrohloff.com> X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR X-Antivirus: avast! (VPS 0631-2, 08/02/2006), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 65.31.1.121 X-Trace: newsgroups.borland.com 1154645622 65.31.1.121 (3 Aug 2006 15:53:42 -0700) Lines: 21 X-Authenticated-User: mrohloff Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail