Solved

Adding events to existing controls

Posted on 2000-04-14
2
141 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

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…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

803 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