CfgVT Objects List

HostExplorer Programming

CfgVT Objects List

The CfgVT object lets you configure all aspects of a VT session. Unlike other objects, the CfgVT object exists only to group VT configuration methods. It has no properties of its own. You can access configuration methods directly, using the With statement or by creating an object for easy reference.

Example

'$include:"-E\hebasic.ebh"

Sub Main
  Dim HE as Object
  Set HE = CreateObject( "HostEx
lorer" )

  HE.CurrentHost.CfgVT.CursorTy
e = CURSOR_BLOCK
End Sub

'$include:"-E\hebasic.ebh"

Sub Main
  Dim HE as Object
  Set HE = CreateObject( "HostEx
lorer" )

  With HE.CurrentHost.CfgVT.CursorTy
e = CURSOR_BLOCK
  End With
End Sub

'$include:"-E\hebasic.ebh"

Sub Main
  Dim Cfg as Object
  Dim HE as Object
  Set HE = CreateObject( "HostEx
lorer" )
  Set Cfg = HE.CurrentHost.CfgVT

  Cfg.CursorTy
e = CURSOR_BLOCK
End Sub