Capture keys

Trying to capture a key event in a component so that key strokes can be processed even if the program is does not have the focus.
Strona01Asked:
Who is Participating?
 
ceoworksCommented:
You can use TActionList for this. Anyway..

Cheers,

Oktay
0
 
ceoworksCommented:
You can use JediVCL's TJvApplicationHotKey component. It's really easy to use. If you don't have JVCL, you can download it from http://sourceforge.net/projects/jvcl

Cheers,

Oktay
0
 
ceoworksCommented:
After you install JVCL, you can find this component in 'Jv Application and Forms' tab..
0
 
ceoworksCommented:
Did you try it ?
0
 
Strona01Author Commented:
Unfortunatley its for a Unitec assignment, so I need code not an already built component.  Also have reread my assignment and I need to capture the keys when the component doesn't have the focus, not the program.
This makes it easier and I've now worked it out, thanks anyway
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.

All Courses

From novice to tech pro — start learning today.