Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Capture Component Events

Posted on 2003-10-24
5
Medium Priority
?
216 Views
Last Modified: 2010-04-05
Hi all, is there any way to capture all the events of specified component ? For example when i want to follow the Button1, i want to capture all of the events of Button1..

All i want to do is to store the event triggers of selected component..

Button1 OnClick event occured
Button1 OnMouseMove event occured
..
..

ListBox1 OnEnter event occured
ListBox1 OnClick event occured..

Is there any way to do that ? If it's possible please give me a roadmap about it..

Regards,
0
Comment
Question by:NeonBlue
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
nestorua earned 360 total points
ID: 9613701
HI,
If you mean the program you are writing and your own components, then simply add in the corresponding event procedure the line that send (or write) the message to your "InfoMemo". That's all.
Sincerely,
Nestorua.
0
 

Author Comment

by:NeonBlue
ID: 9613760
Yeah i know that but it's not a useful solution..
0
 
LVL 4

Expert Comment

by:nestorua
ID: 9613827
What do you mean saying 'not useful'. If you write some Event Handler you could as well add one row code. If not - the corresponding procedure will not do anything.
 
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

782 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