Solved

How to hide the properties from appearing in the object inspector.

Posted on 2003-11-14
5
200 Views
Last Modified: 2013-11-23
hi,
   I have a component in which some properties are derived from the base class, the problem is that i dont want these properties to appear in the object inspector.
     Can someone help me to solve this problem.
                   Thanks in Advance...
0
Comment
Question by:nazimsirdesai
5 Comments
 
LVL 17

Accepted Solution

by:
geobul earned 20 total points
ID: 9747386
Hi,

If you redeclare them as public instead of published what will happen? Have you tried that?

Regards, Geo
0
 
LVL 6

Expert Comment

by:GloomyFriar
ID: 9747589
put them to 'public' section, not 'published'
0
 
LVL 5

Expert Comment

by:scrapdog
ID: 9752761
If it is a VCL component you are deriving from, it will often have a near-equivalent parent class with "Custom" in the name.  Derive from this Custom class if you can, and only publish the properties you want to publish.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question