ReadyStateChange Event

This event occurs when the state of the control has changed.  When it fires, check the ReadyState property or the ReadyState parameter to ascertain the readiness state of the control.

The ReadyState property and ReadyStateChange event are intended for use with HTML scripts only.  Use them to manage the asynchronous downloading of images from the World Wide Web.

Available With

Ö Imaging for Windows Professional Edition V2.0
Imaging for Windows Professional Edition V1.0 and V1.1
Imaging for Windows 95 and 98
Imaging for Windows NT 4.0

Applies To

Image Annotation Tool Button control, Image Edit control

Syntax

Sub object_ReadyStateChange(ReadyState)

Argument

Parameter Data Type Setting

ReadyState Long The readiness state of the control:

0 The control is initializing and retrieving properties; cannot perform methods

2 The control has initialized and downloading has started; cannot perform methods

4 The control is ready for all requests; can perform methods


Remarks

This event is useful when the Image property is set to a URL pathname.

The control can perform methods only when its ReadyState property is 4.