Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi me again ,

 

I ahd a question...;

 

In my application I have a login-screen.

I have a textbox where you fill in your password, what i want to do is when i enter this textbox or I'm in it and i activate capslock that is get a balloon description like windows does .

I have the code to creat this balloon, but i don't know how to check wheter it's activated or not ....

 

Can anyone help me out

 

 

 

Grtzzz Jos

  • Administrators
Posted

Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
       If e.Modifiers = Keys.CapsLock Then
           'caps lock pressed
       End If
   End Sub

 

also you gave this thread a bit of a misleading title as it doesn't really have anything to do with ascii.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...