Solved

Capture keys

Posted on 2004-04-30
5
219 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month8 days, 18 hours left to enroll

617 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