This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
|
A Tinderbox Reference File : Attributes : System Attribute List : OnAdd | aTbRef Site Map |
OnAdd |
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. Although it takes a string argument, the string must be valid action syntax.
OnAdd actions are applied to each item of a multiple-item drag, even if the dragged notes originate in a different file. The OnAdd action is 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. Pasting a note into a container runs the OnAdd action.
The container's OnAdd action acts on both newly-made notes and agents.
Up: System Attribute List | |
Previous: NameFont | Next: Organization |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]