
CapsLock Property | 503
The ‘My’
Reference
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
See Also
AvailablePhysicalMemory Property, Info Object (My.Computer), TotalPhysical-
Memory Property, TotalVirtualMemory Property
ButtonsSwapped Property
Location
My.Computer.Mouse.ButtonsSwapped
Syntax
Dim result As Boolean = My.Computer.Mouse.ButtonsSwapped
Description
On most systems, the left mouse button performs selection, while the right mouse
button performs context-specific actions. The ButtonsSwapped property indicates
whether the functionality normally assigned to each button has been reversed (
True)or
not (
False).
Usage at a Glance
• This property is read-only.
• This property is only valid in non-server applications.
• An exception is thrown if the computer does not have an installed mouse.
Related Framework Entries
• Microsoft.VisualBasic.Devices.Mouse.ButtonsSwapped Property
• System.Windows.Forms.SystemInformation.MouseButtonsSwapped Property
See Also
Mouse Object, WheelExists Property, WheelScrollLines 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).