OLE Objects

HostExplorer Programming

OLE Objects

3270 5250 VT

HostExplorer provides methods and properties for the following OLE objects:

A method is a construct that, when executed, performs an action and possibly returns a value. For example, you can use the Keys method to simulate pressing keys in HostExplorer. This method returns the value of the return code, indicating whether you pressed the keys successfully. A method can optionally take parameters.

A property is an interface to a variable in HostExplorer. Unlike a method, it does not perform an action or take any parameters. You can use a property to retrieve or set the value of its associated variable in HostExplorer. For example, you can use the AllowUpdates host property to get or set the value of the Screen Updates flag, which determines whether the program updates the screen. Properties that you can retrieve, but not alter, are called read-only properties.

The following diagram illustrates the relationship between the OLE objects.


Related Topics

OLE Automation