Cfg5250 Objects List

HostExplorer Programming

Cfg5250 Objects List

The Cfg5250 object lets you configure all aspects of a 5250 session. Unlike other objects, the Cfg5250 object only exists to group 5250 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.Cfg5250.CursorType = CURSOR_BLOCK
End Sub
'$include:"-E\hebasic.ebh"

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

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

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

  Cfg.CursorType = CURSOR_BLOCK
End Sub