Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 152
  • Last Modified:

Adding events to existing controls

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
ChrisBerry
Asked:
ChrisBerry
1 Solution
 
rwilson032697Commented:
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
 
ChrisBerryAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now