Reduce Component published events and properties

Posted on 2002-03-14
Last Modified: 2013-11-23

My Class is

TMyDataset = class(Tdataset)

I want that not all the events and properties in Tdataset will be publish in TMyDataset , how can i do it ?
Question by:asi
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
LVL 17

Accepted Solution

geobul earned 50 total points
ID: 6865590
TDataSet has no published events and properties. They are made published in TBDEDataSet and its descendants.

Anyway, an example how to redeclare an existing published property as public:

in TBDEDataSet there are:
TBDEDataSet = class(TDataSet)
  property Active;
  property BeforeOpen;

you can make them public:
TMyDataSet = class(TBDEDataSet)
  property Active;
  property BeforeOpen;

Regards, Geo

Author Comment

ID: 6865652
u rigth , my example wasnt "very good"

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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
LAN or WAN ? 11 106
Multiple image collision 13 88
tidtcpserver connection lost handle 2 110
How to Get Images From Server using App Tethering 11 42
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…
In an interesting question ( 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…

733 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