Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I Trigger my own code on WithClass Events?

code events Trigger withclass
0
Posted

How do I Trigger my own code on WithClass Events?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123