Solved

Reduce Component published events and properties

Posted on 2002-03-14
2
148 Views
Last Modified: 2013-11-23
Hello,

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 ?
0
Comment
Question by:asi
2 Comments
 
LVL 17

Accepted Solution

by:
geobul earned 50 total points
ID: 6865590
Hi,
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)
...
published
  property Active;
  ...
  property BeforeOpen;
end;

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

Regards, Geo
0
 

Author Comment

by:asi
ID: 6865652
u rigth , my example wasnt "very good"
10nks
Asi
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

760 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

23 Experts available now in Live!

Get 1:1 Help Now