SetEventDist


Description

Reports that a Dist object will be firing events. (Monitor that model's events for specifics.)

Syntax

aModel_SetEventModel(aDist)

 

Parameter Description
aModel Model object.
aDist The Dist that will have presently have one or more events firing.

aDist may have a value of Nothing.

Guarantees

This event will fire before the  Dist object fires any events.

Remarks

This is the "trick" that allows Visual Basic to watch an indefinite number of Dist objects. It can do this by switching which Dist it is monitoring every time it gets this event. It should start by monitoring aModel.EventDist.

Applies To

Model

Also See:

Events: an Overview