Model Parts, Diagrams, Dictionary Items, and Properties > Properties > On drop script (property)
On drop script (property)
For automation interface information about the On Drop Script property (Script, Script Text or Text through the automation interface), see the automation interface topic for a Script in the Related Topics. When you select the On Drop check box, Modeler creates a Script object for the Stereotype through the Owned On Drop Script association. The Script Type of the Script object is set to OnDrop. The Script object is used to record the On Drop Script that is displayed on the UI Events tab of the Stereotype's Property Pages. Note that Stereotype owned Scripts are not shown in Modeler.
This property specifies the VisualBasic script for an on drop action.
For more information about working with VisualBasic on drop scripts for a Stereotype, see Script functions, attributes and objects - on drop scripts for diagrams.
By default, the On Drop Script property is blank.
This property is set on the UI Events tab of a Stereotype's Property Pages.
This property is available only when the On Drop check box is selected on the UI Events tab of a Stereotype's Property Pages.
To write scripts you require a good working knowledge of the VBScript language, the Modeler Meta Model and the Modeler Automation Interface. If you run a script that has errors, those errors can corrupt Modeler model data and make Modeler crash.
The following section provides information about the items and diagrams for which On Drop Script is a property. For more information about an item or diagram, click it.
Is property of