SetScriptWindow Method Example

The following example instantiates the Visual Basic editor for the Oval object Oval1 contained within the PictureTestPicture, displaying the prototype for its MouseDown event.

Oval1.Select

TestPicture.SetScriptWindow True, "MouseDown"