CapsLock

This property queries the connection’s operator information area to determine if the keyboard is in capslock mode. The CapsLock property is set to 1 if the keyboard is in capslock mode, otherwise it is set to 0. CapsLock is an Integer data type and is read-only. The following example shows this property.

' Create a new lsxECLOIA object associated with connection A
dim myOIAObj as new lsxECLOIA("A")
 
' Check if the keyboard is in capslock mode
if myOIAObj.CapsLock then
  call abc