Database4YoU

Home ] Up ] News ] Applications ] YU applications ]

 

 

 

TMKeyboardStatusBar v 1.0

Freeware without source!

TMKeyboardStatusBar is TStatusBar descendant with some of keyboard properties one may find useful in application.

Properties Events Download Feedback

Description

When your application starts and TMKeyboardStatusBar is created, all lights on the keyboard are under your program control. You can switch them on and off or lock in the state you want. This is especially useful if you have some dedicated controls for entering numbers, capital letters etc. It happens to me, all the time, to type in Delphi editor and then realize that all letters are in wrong case or instead of numbers (without NUM lock on) to loose the focus. If such a thing happens to you or your app. user, this status bar might help!


Description  Events Download Feedback

Properties

INumLock, ICapsLock, IScrollLock and IInsert are lights indicators

There are several sub properties defined for each indicator:
Status is true if light is on.
Locked is used if you want to prevent user to change it from keyboard.
Color is obvious and
Text is the label you want to read in status bar. If you want two different labels on status bar for some indicator, separate words with ; (semicolon) You may want to use INS;OWR for insert status. If you don't use semicolon, your default text will apear in upper case for ON status and in lower case for OFF status of the indicator.

ILanguage - keyboard language layout for active control
If you have to support input for different keyboard layouts, it might be convenient to inform the user which one is currently activated!
IFont - Font for active control

All indicators are always active, even in the design time. You can set them to preferred status while entering some control and restore their state on exit.


Description Properties  Download Feedback

Events

There are two events I couldn't manage to find elsewhere!

OnLightOn  (VK_KEY: integer) !
 
It is fired whenever user or your application turn some of indicators ON.
 
OnLightOff  (VK_KEY: integer) !

This might be useful if you are expecting numbers and NUM lock is turned OFF. At least a warning from your application would be appreciated from user!


Description Properties Events  Feedback

Demo project is included in the archive! You don't have to install the component at all! Just open the demo project and run it. If you want, you can install it later at wish!

Whether you find the component interesting or not, I would appreciate your comments by e-mail. I gave you this component for free so, don't hesitate,  waste an e-mail with a few words!

Download  TMKeyboardStatusBar10.zip ~ 15 Kb

Source available on purchase Price: US $ 29.
Back to top

Copyright © 2001 Database4YoU                 Last modified: June 17, 2001