Article View: borland.public.csharpbuilder.ide.general
Article #137Re: Accessing the component "Name" property
From: Marc Rohloff TeamB
Date: Fri, 04 Aug 2006 16:33
Date: Fri, 04 Aug 2006 16:33
44 lines
2918 bytes
2918 bytes
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> <m1p14y1fhmc$.dlg@dlg.marcrohloff.com> <44d2eafa@newsgroups.borland.com> Date: Fri, 4 Aug 2006 12:28:40 -0400 Message-ID: <wxacey3pdn8w$.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 1154708920 65.31.1.121 (4 Aug 2006 09:28:40 -0700) Lines: 15 X-Authenticated-User: mrohloff Path: newsgroups.borland.com!not-for-mail Xref: newsgroups.borland.com borland.public.csharpbuilder.ide.general:1138 X-Antivirus: avast! (VPS 0631-2, 08/02/2006), Inbound message X-Antivirus-Status: Clean On Fri, 4 Aug 2006 08:35:15 +0200, Francois Piette [ICS & Midware] wrote: >> 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... Sure, you could also check the help file, there is no name property for any .net component. The property editor makes this up based purely on the name of the variable it is assigned to in the initialization (hence the parentheses around the name). -- Marc Rohloff [TeamB] marc rohloff -at- myrealbox -dot- com
Technical Details
Message-ID:
<sfgbn1yxwdzf$.dlg@dlg.marcrohloff.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.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> <m1p14y1fhmc$.dlg@dlg.marcrohloff.com> <44d2eafa@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> <m1p14y1fhmc$.dlg@dlg.marcrohloff.com> <44d2eafa@newsgroups.borland.com> Date: Fri, 4 Aug 2006 12:33:34 -0400 Message-ID: <sfgbn1yxwdzf$.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 1154709213 65.31.1.121 (4 Aug 2006 09:33:33 -0700) Lines: 44 X-Authenticated-User: mrohloff Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.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