🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.aspdotnet.components.using
Article #94

Re: How? Referencing a User Control in a User Control.

#94
From: Kyle A. Miller
Date: Tue, 04 Oct 2005 20:26
12 lines
1622 bytes
Yorai Aminov (TeamB) wrote:
> You can add the declaration yourself to the "strict protected" area
> of your class interface. You'll then be able to access the control in
> code.

I had tried that, but received a Null object reference. Maybe I didn't 
put in "strict protected", but another section. So, since I only needed 
to access the control to set its visibility, I dropped it into a panel 
and turn it on and off.

Thanks for confirming what I thought should be possible, declarations in 
class.
Technical Details
Message-ID: <4342e49e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <433dc552$1@newsgroups.borland.com> <xn0e7yy5346gi9u002@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 21665a,206b263679172720
X-Google-Attributes: gid21665a,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 04 Oct 2005 15:26:51 -0500
From: "Kyle A. Miller" <kyle#REMOVE@millerdevelopment.info>
User-Agent: Thunderbird 1.4 (Windows/20050908)
MIME-Version: 1.0
Newsgroups: borland.public.delphi.aspdotnet.components.using
Subject: Re: How? Referencing a User Control in a User Control.
References: <433dc552$1@newsgroups.borland.com> <xn0e7yy5346gi9u002@newsgroups.borland.com>
In-Reply-To: <xn0e7yy5346gi9u002@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 24.0.152.23
Message-ID: <4342e49e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1128457374 24.0.152.23 (4 Oct 2005 13:22:54 -0700)
Lines: 12
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail