Description

Changes the application cursor and manages the progress meter.

Return Type

A McBusyState object.  

an McBusyState object which will restore the previous cursor when it is destroyed.

Syntax

object.SetBusyState ([Cursor], [ShowProgressMeter], [CursorFile])

The SetBusyState Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McApplication.
CursorOptional. A mcApplicationCursor enumeration, as described in settings.

The cursor the application should use until the returned object is destroyed.

ShowProgressMeterOptional. A Boolean value.

Whether the progress meter should be displayed or not. This is False by default, but calling SetProgress on the returned McBusyState object will automatically show the progress meter.

CursorFileOptional. A String value.

A .cur or .ani file to use when the Cursor argument is mcacCustom.

Settings

The settings for Cursor are:

ConstantValueDescription
 mcacCustom0

The cursor comes from a user defined cursor file

 mcacArrow32512
 mcacIbeam32513
 mcacWait32514
 mcacCross32515
 mcacUparrow32516
 mcacSize32640
 mcacIcon32641
 mcacSizenwse32642
 mcacSizenesw32643
 mcacSizewe32644
 mcacSizens32645
 mcacSizeall32646
 mcacNo32648
 mcacHand32649
 mcacAppstarting32650
 mcacHelp32651

Remarks

This function creates an McBusyState object which will restore the previous cursor when it is destroyed.