Link to home
Create AccountLog in
Avatar of venussc
venussc

asked on

Bubble message when caps lock is ON and password box is enterred

I have attempted to implement the balloon popup to show that CAPS lock is on when a password text box is entered. This is just like for the windows passowrd box. The Popup should:

1. Popup on entering password box if CAPSLOCK is on.
2. Popup when CAPSLOCK is pressed with the text box.
3. The should be a delay for the popup to dissapear if no further key is pressed.
4. If any other key is pressed before the popup has deissapeared on its own, The popop should dissapear.

I have had so many problem to get this to work as indicate above each time giving unwanted extra behaviour such as poping up each time a key is pressed and CAPSLOCK is on.

Can somebody kindly provide some coed for this.

Thanks.
Avatar of rfwoolf
rfwoolf
Flag of South Africa image

I get this behaviour using a TMaskedit although this could just be an XP thing. I haven't tested it on 98 or 95
It's will working if you use a XP Manifest.
Avatar of venussc
venussc

ASKER

Any other ideas Please?
Why you don't want use XP Manifest ? In Delphi 2007 it's used by default.
Avatar of venussc

ASKER

I am currently using delphi 7. Normally I try as much as possible not to include external units especially those with very little information/and/or warnings about their usage. Nothing beats a well constructed software and these units always introduce too many unknowns.
ASKER CERTIFIED SOLUTION
Avatar of wd123
wd123
Flag of Belarus image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of venussc

ASKER

Will be looking at it and implementing tomorrow!! Will update after
you're welcome :)