Improve company productivity with a Business Account.Sign Up

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

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.
0
Strona01
Asked:
Strona01
  • 4
1 Solution
 
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
 
ceoworksCommented:
You can use TActionList for this. Anyway..

Cheers,

Oktay
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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