Solved

Reduce Component published events and properties

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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 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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

696 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