Solved

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

Posted on 2003-11-14
5
198 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now