Width

これは、エミュレーター・ウィンドウ長方形の幅です。このプロパティーは、変更と検索の両方が可能です。Width は、Long データ型で 読み取り/書き込み可能です。ただし、付加した接続がインプレースの組み込みオブジェクトである場合は、 このプロパティーは読み取り専用です。以下の例は、このプロパティーを示しています。

Dim  autECLWinObj as Object
Dim  ConnList as Object
Dim  cx as Long
Set autECLWinObj = CreateObject("ZIEWin.autECLWinMetrics")
Set ConnList = CreateObject("ZIEWin.autECLConnList")
 
' Initialize the connection
ConnList.Refresh
autECLWinObj.SetConnectionByHandle(ConnList(1).Handle)
 
cx = autECLWinObj.Width 'get the width
 
' or...
 
autECLWinObj.Width = 6081 'set the width