BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to "hide" published properties ?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing
View previous topic :: View next topic  
Author Message
Jerry Adriane Gonçalves
Guest





PostPosted: Mon Aug 11, 2003 2:03 pm    Post subject: How to "hide" published properties ? Reply with quote



Hi,

I´m writting a component derived from other. At base component there are
some properties declared as published.

I would like in descendent component the properties were only public not
published.

Is there way to do this ? How ?

Thanks

Jerry



Back to top
Ignacio Vazquez
Guest





PostPosted: Mon Aug 11, 2003 2:26 pm    Post subject: Re: How to "hide" published properties ? Reply with quote



"Jerry Adriane Gonçalves" <jerryag (AT) tqi (DOT) com.br> wrote in message
[email]3f37a20a (AT) newsgroups (DOT) borland.com[/email]...
Quote:
I would like in descendent component the properties were only public not
published.

Is there way to do this ? How ?

No. The way to do this is generally to descend from a higher component and
only publish properties you want to show, but that depends on the component.

Cheers,
Ignacio

--
No, don't send me e-mail directly. No, just don't.




Back to top
Jeff Overcash (TeamB)
Guest





PostPosted: Tue Aug 12, 2003 12:39 am    Post subject: Re: How to "hide" published properties ? Reply with quote



You can't demote visibility. If the only thing you want to do is remove it from
the OI then register a nil property editor for that property. This does not
unpublish it or do anything else except remove it from the OI.

"Jerry Adriane Gonçalves" wrote:
Quote:

Hi,

I´m writting a component derived from other. At base component there are
some properties declared as published.

I would like in descendent component the properties were only public not
published.

Is there way to do this ? How ?

Thanks

Jerry

--
Jeff Overcash (TeamB)
(Please do not email me directly unless asked. Thank You)
If there is somebody up there could they throw me down a line. Just a
little helping hand just a little understanding. Just some answers to the
questions that surround me now. If there's somebody up there could
they throw me down a line. (Fish)


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.