InsertMode

This property queries the connection’s operator information area to determine if the keyboard is in insert mode. The InsertMode property is set to 1 if the keyboard is in insert mode; otherwise, it is set to 0. InsertMode 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 insert mode
if myOIAObj.InsertMode then
  call abc