Methods and Properties of the Field Object

HostExplorer Programming

Methods and Properties of the Field Object

The Field object methods and properties let you manipulate all aspects of a field. You can access field methods directly, using the "With" statement or by creating an object for easy reference.

Example:

Sub Main

Dim HE as Object
Set HE = CreateObject( "HostExplorer" )
HE.CurrentHost.Fields(7).Text = "Hello World"

End Sub

Sub Main

Dim HE as Object
Set HE = CreateObject( "HostExplorer" )
With HE.CurrentHost.Fields(7)
.Text = "Hello World"
End With

End Sub

Sub Main

Dim HE as Object
Set HE = CreateObject( "HostExplorer" )
Dim Fld as Object
Set Fld = HE.CurrentHost.Fields(7)
Fld.Text = "Hello World"

End Sub

The following Field object methods and properties are available: