Solved

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

Posted on 2003-11-14
5
204 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Print Graphic and Text to Epson TM-T88v 12 558
JAudiorecorder record freezing the app 29 93
scroll down TListBox component in Delphi 1 44
Delphi, TImage, Png 2 57
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

759 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