Description

Event fired when McEngine.ActiveImage changes or when the last image is closed.

Syntax

Private Sub object_Activate(Image)

The Activate Event syntax has these parts:

PartDescription
objectA McImages object.
ImageA McImage object.

The McImage that is the new ActiveImage, or Nothing if the last image has been closed (so that McEngine.ActiveImage is Nothing).

Remarks

Of all Images events, this is the one you are most likely to need to handle. Any application that displays information about, analyzes or operates on the active image (McEngine.ActiveImage) will usually need to handle this event to synchronize with the new ActiveImage.

This event is always fired on the McEngine.Images collection, even if the new ActiveImage is not part of the collection.