OnAdd

Tinderbox Icon


Attribute Data Type:   action
Attribute Default Value:   (not set - empty string)
Atrribute Group:   General
Attribute Inherited from Preferences?     No
Attribute Read-Only?   No

An action, or list of actions (separated by semi-colons), to be performed when a note becomes child of the current note, be it new or moved there by dragging. Adornments also offer 'OnAdd' action support.

OnAdd actions are applied to each item of a multiple-item drag, even if the dragged notes originate in a different file. (Prior to v2.5.0, only the first note was acted upon).

From v3.0.2, the container's OnAdd action acts on the newly-made agents as well as notes.

From v3.5.1, OnAdd action is now applied only when a note is created inside a container, or is moved into a container from some other container. This stops OnAdd being re-applied for actions like moving an note on a Map and where OnAdd may have iterative effects on a note if re-applied.

From v3.6.0, pasting a note into a container runs the OnAdd action.

From v4.0.0, this attribute is now of the 'action' data type although it still takes a string argument as before; the string must be valid action syntax.


Up: General Attributes
Previous: Name  Next: OutboundLinkCount 

[Last updated: 3 Dec 2008]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox