SetEventModel


Description

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

Syntax

aMSBN_SetEventModel(aModel)

 

Parameter Description
aMSBN a MSBN object.
aModel The Model that will have presently have one or more events firing.

aModel may have a value of Nothing.

Guarantees

This event will fire before the model fires any events.

Remarks

This is the "trick" that allows Visual Basic to watch an indefinite number of models. It can do this by switching which model it is monitoring every time it gets this event. It should start by monitoring aMSBN.EventModel.

Applies To

MSBN

Also See:

Events: an Overview