Solved

Capture keys

Posted on 2004-04-30
5
214 Views
Last Modified: 2010-04-05
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
Comment
Question by:Strona01
  • 4
5 Comments
 
LVL 4

Expert Comment

by:ceoworks
ID: 10965643
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
 
LVL 4

Expert Comment

by:ceoworks
ID: 10965650
After you install JVCL, you can find this component in 'Jv Application and Forms' tab..
0
 
LVL 4

Expert Comment

by:ceoworks
ID: 10972475
Did you try it ?
0
 

Author Comment

by:Strona01
ID: 10972620
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
 
LVL 4

Accepted Solution

by:
ceoworks earned 50 total points
ID: 10972642
You can use TActionList for this. Anyway..

Cheers,

Oktay
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now