Solved

Capture keys

Posted on 2004-04-30
5
213 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
Comment Utility
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
Comment Utility
After you install JVCL, you can find this component in 'Jv Application and Forms' tab..
0
 
LVL 4

Expert Comment

by:ceoworks
Comment Utility
Did you try it ?
0
 

Author Comment

by:Strona01
Comment Utility
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
Comment Utility
You can use TActionList for this. Anyway..

Cheers,

Oktay
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 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

6 Experts available now in Live!

Get 1:1 Help Now