Solved

Adding events to existing controls

Posted on 2000-04-14
2
139 Views
Last Modified: 2010-04-04
Hi,

Is it possible to add events to existing controls. Specifically I would like to inherit the drag and drop events from TControl and apply them to a TSpeedButton without creating a new SpeedButton component.

Chris
0
Comment
Question by:ChrisBerry
2 Comments
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 50 total points
ID: 2715380
Well, the only way you can do that exactly, is to modify the VCL source and copy the drag/drop support from the TControl code into the TSpeedButton code...

Otherwise the answer is no.

Cheers,

Raymond.
0
 

Author Comment

by:ChrisBerry
ID: 2715450
Thanks for the reply.

I had thought about that and I had a feeling this was the case, hence my comment about not creating a new component. Ah well.

Chris
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
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.

747 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

16 Experts available now in Live!

Get 1:1 Help Now