How do I Trigger my own code on WithClass Events?
WithClass (version 5.03) has several events that you can utilize to insert your own code after these events occur. There are events like ClassSelected, AttributeChanged, ClassMoved. To utilize the events in WithClass, double click on the ThisDocument in wc98 objects in the VBA Editor. Click on the combo box on the upper left hand corner that says General and choose Document. The events will appear on the right side and you can choose the event function you want from this list. The VBA IDE will automatically insert the function for you. Below is the code for the operationchanged event. This will be triggered after the user makes changes to their operation in an operation dialog. Note that the event supplies the operation that has been changed: Private Sub Document_OperationChanged(ByVal TheChangedOperation As Object) MsgBox(“The Operation that was changed was ” & TheChangedOperation.