Example

The following example shows how to use the connection name to set the connection for a newly created autECLWinMetrics object.

DIM  autECLWinObj as Object
Set autECLWinObj = CreateObject("ZIEWin.autECLWinMetrics")
 
' Initialize the connection
autECLWinObj.SetConnectionByName("A")
' For example, set the host window to minimized
autECLWinObj.Minimized = True