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 

hot to hide property from Object Inspector ?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi VCL Components Writing
View previous topic :: View next topic  
Author Message
Arioch /BDV/
Guest





PostPosted: Tue Oct 21, 2003 1:14 pm    Post subject: hot to hide property from Object Inspector ? Reply with quote



Hello, All!

Is there some RegisterXXX procedure since Delphi3 that i can hide published
not-read-only property from inspector ?

I need it for DFM compatibility.
I do not want to override DFM reading for that class, though i can.
Legacy PropertyCategory is nice - but is only D5 +

--
If i had ears, i'd heard Ken Hensley - Tell Me
http://Arioch.nm.ru/FL/Fidolook_SL.png Mail: the_Arioch<at>nm<dot>ru

Back to top
Gert Kello
Guest





PostPosted: Tue Oct 21, 2003 2:24 pm    Post subject: Re: hot to hide property from Object Inspector ? Reply with quote



Quote:
Is there some RegisterXXX procedure since Delphi3 that i can hide published
not-read-only property from inspector ?

I need it for DFM compatibility.

If it is only for DFM compatiblity, You could make this property
Write-Only :)

Quote:
I do not want to override DFM reading for that class, though i can.
Legacy PropertyCategory is nice - but is only D5 +

Otherwise register nil property editor for the property.

--
Gert


Back to top
Arioch /BDV/
Guest





PostPosted: Tue Oct 21, 2003 2:58 pm    Post subject: Re: hot to hide property from Object Inspector ? Reply with quote



The stars so gaily glistened... (Tue, 21 Oct 2003 16:24:43 +0200 @642)
....while the fading voice of Gert whispered through the darkness:

Quote:
Is there some RegisterXXX procedure since Delphi3 that i can hide
published not-read-only property from inspector ? I need it for DFM
compatibility.

GK> If it is only for DFM compatiblity, You could make this property
GK> Write-Only :)

Code compatibility is good too, but at last it is much easier to find and
fix.

Quote:
I do not want to override DFM reading for that class, though i can.
Legacy PropertyCategory is nice - but is only D5 +

GK> Otherwise register nil property editor for the property.

WOW!!!
Thank You.
It fills so strange to find myself so narrow-minded Sad
--
If i had ears, i'd heard none: WinAMP de-instaled.
http://Arioch.nm.ru/FL/Fidolook_SL.png Mail: the_Arioch<at>nm<dot>ru


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.