InternetResult object

The InternetResult object acts as a buffer, receiving and caching asynchronous data, as it is returned using the Internet in response to the GetURL and PostURL function calls. The InternetResult object also provides the ability to process this data.

To use an InternetResult object, create a standard class user object that defines an InternetData function to process the passed HTML.

Properties

InternetResult property

Datatype

Description

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.


Events

InternetResult event

Occurs

Constructor in PowerScript Reference

Immediately before the Open event occurs in the window

Destructor in PowerScript Reference

Immediately after the Close event occurs in the window


Functions

InternetResult function

Datatype returned

Description

ClassName in PowerScript Reference

String

Returns the name assigned to the object

GetContextService in PowerScript Reference

Integer

Creates a reference to a context-specific instance of the specified service

GetParent in PowerScript Reference

PowerObject

Returns a reference to the name of the parent object

InternetData in PowerScript Reference

Integer

Processes the HTML data returned by a GetURL or PostURL function

InternetStatus

Integer

Not used

PostEvent in PowerScript Reference

Boolean

Adds an event to the end of the message queue for the object

TriggerEvent in PowerScript Reference

Integer

Triggers a specific event in the object and executes the script for the event

TypeOf in PowerScript Reference

Object

Returns the type of the object