Solved

Reduce Component published events and properties

Posted on 2002-03-14
2
149 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
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 film showing how OnPage and Connectwise integration works.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

919 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

18 Experts available now in Live!

Get 1:1 Help Now