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 : Objects & Concepts : Notes & Containers : Note Attributes||aTbRef Site Map|
An Attribute has a name, a value type, a value and an optional default value. Some attributes are read-only, meaning they cannot be modified by the user. If no default value is set the attribute is empty/zero/false/etc., according to data type. There are two primary types of attributes:
Additionally, system attributes may be:
In Tinderbox all attributes are global in the sense that they exist and can be given a value for any note or agent, even if it might not be useful in a particular case. Just ignore attributes when they don't make sense. Put in database terms, Tinderbox implements one big table (flat file style), rather than a set of related tables.
Note that whilst the document itself does not have a text property, it does have attributes. Thus you can set some document level preferences. Thus you can set the Map view's background color by opening the document's Info view and changing the MapBackgroundColor attribute; be aware changing this attribute only affects the document only if the current 'item' is the document - i.e. no note selected - and not a note.
|Up: Notes & Containers|
|Previous: Note Text|
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]