Active
This is a Boolean property that indicates whether the connection’s window has the focus. The Active property is an integer and is read/write enabled. However, if the connection to which you are attached is an inplace, embedded object, this property is read-only. If the window has the focus, Active is set to 1; otherwise, is set to 0. The following example shows this property.
' Create an lsxECLWinMetrics object associated with connection A
dim myWMetObj as lsxECLWinMetrics("A")
' Make sure our window has the focus
if myWMetObj.Active = 0 then
myWMetObj.Active = 1