Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2003-11-14
5
Medium Priority
?
212 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
3 Comments
 
LVL 17

Accepted Solution

by:
geobul earned 80 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Screencast - Getting to Know the Pipeline
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

782 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