In standard login form, how is capslock on detected?

B

Bob

Using the standard login form of VB.Net in VS2005. When I have capslock On
and enter in the passwordtextbox control I get a tooltip that says Capslock
is on etc... , Looking at the events of that textbox, none are shown as
being used. I need to localize that message but I can't see what property or
event they have used. Can anyone telle me where to look so that I can
localize it.
I typically set the localizable property of the form tpo true and select the
language in the form properties then just modify the properties I need to
for the wanted language. This works fine for me but I got to know how they
did it.

Thanks for any help,

Bob
 
H

Herfried K. Wagner [MVP]

Bob said:
Using the standard login form of VB.Net in VS2005. When I have capslock On
and enter in the passwordtextbox control I get a tooltip that says
Capslock is on etc... , Looking at the events of that textbox, none are
shown as being used. I need to localize that message but I can't see what
property or event they have used.

The text is shown automatically if a password char is specified for the
control or its 'UseSystemPasswordChar' is set to 'True'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top