Cfg3270 Objects List

HostExplorer Programming

Cfg3270 Objects List

The Cfg3270 object lets you configure all aspects of a 3270 session. Unlike other objects, the Cfg3270 object exists only to group 3270 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( "HostExplorer" )

  He.CurrentHost.Cfg3270.CursorType = CURSOR_BLOCK
End Sub
'$include:"-E\hebasic.ebh"

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

  With He.CurrentHost.Cfg3270.CursorType = CURSOR_BLOCK
  End With
End Sub
'$include:"-E\hebasic.ebh"

Sub Main
  Dim HE as Object
  Set HE = CreateObject( "HostExplorer" )
  Dim Cfg as Object
  Set Cfg = HE.CurrentHost.Cfg3270

  Cfg.CursorType = CURSOR_BLOCK
End Sub