ReadyState Example for Delphi

This example shows how to use the ReadyState property to test whether an asynchronous load is in progress.

Note:

This is not a complete example for handling events; some of the steps have been omitted. For a complete example of how to handle events, refer to the example Updating a Gauge and Detecting a User Interrupt.

if (RasterIO.ReadyState = RASTER_READYSTATE_LOADING) then
   ShowMessage ('Still loading the image');