CapsLock Property


CapsLock Property

Location

My.Computer.Keyboard.CapsLock

Syntax

     Dim result As Boolean = My.Computer.Keyboard.CapsLock 

Description

The CapsLock property indicates the current state of the Caps Lock key, whether on (TRue) or off (False).

Usage at a Glance

  • This property is read-only.

  • This property is only valid in non-server applications.

Related Framework Entries

  • Microsoft.VisualBasic.Devices.Keyboard.CapsLock Property

See Also

Keyboard Object, NumLock Property, ScrollLock Property




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net