Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Capture keys

Posted on 2004-04-30
5
Medium Priority
?
220 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 150 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

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…
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…
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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

721 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