[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Reduce Component published events and properties

Posted on 2002-03-14
2
Medium Priority
?
157 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
[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
2 Comments
 
LVL 17

Accepted Solution

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

649 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