Hourglass Method

Applies To

DoCmd object.

Description

The Hourglass method carries out the Hourglass action in Visual Basic. For more information on how the action and its argument work, see the action topic.

Syntax

DoCmd.Hourglass hourglasson

The Hourglass method has the following argument.

Argument

Description

hourglasson

Use True (–1) to display the hourglass icon (or another icon you've chosen). Use False (0) to display the normal mouse pointer.


See Also

DoCmd object, Echo method (Application object), Hourglass action, SetWarnings method.

Example

The following example uses the Hourglass method to display an hourglass icon (or another icon you've chosen) while your Visual Basic code is executing:

DoCmd.Hourglass True