Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Components Writing > Component needs...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 125 of 155
Post > Topic >>

Component needs to confirm parent before showing

by "Bill Bateman" <bbateman@[EMAIL PROTECTED] > Apr 7, 2005 at 12:18 AM

Hello all,

I am attempting to create some CustomControls that only drop on a
TPanel.  However, in order to do this, I need to check the
Parent.Classtype for a match to TPanel.  I cannot get access to Parent
in the constructor and the loaded procedure doesn't get fired.  I
cannot use AOwner in the constructor because it always references
Tform.

Has anyone done this before that can help?

Bill
 




 8 Posts in Topic:
Component needs to confirm parent before showing
"Bill Bateman"   2005-04-07 00:18:37 
Re: Component needs to confirm parent before showing
"Bruce Roberts"  2005-04-07 11:32:37 
Re: Component needs to confirm parent before showing
dhamdon@[EMAIL PROTECTED]  2005-04-07 09:19:16 
Re: Component needs to confirm parent before showing
"Bruce Roberts"  2005-04-07 16:18:17 
Re: Component needs to confirm parent before showing
"Bill Bateman"   2005-04-07 09:23:20 
Re: Component needs to confirm parent before showing
"Bill Bateman"   2005-04-08 22:21:26 
Re: Component needs to confirm parent before showing
"Bruce Roberts"  2005-04-11 09:57:57 
Re: Component needs to confirm parent before showing
"Bill Bateman"   2005-04-11 20:19:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 23 16:19:53 CDT 2008.