This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

Displaying (key) attributes in Text windows

A table layout of attribute title/value cells, attribute names in the left column, values in the right column. The list can be re-ordered, items deleted and attribute value edited. An item is added by:

The vertical order of displayed (key) attributes can be altered via drag-drop of the attribute name label (left column cell). An item can be deleted from the key attribute display by dragging its label cell out of the table and dropping onto the $Text pane.

Displayed value boxes only support the MacRoman character set - Unicode data may not display properly although underlying Unicode data if not affect as long as the box is not edited.

At the extreme the right of the panel each string, list or set attribute has a pop-up list of values, allowing quick setting of values already in use for that attribute.

Boolean key attributes are always shown as a tick-box; ticked equates to true, un-ticked to false.

Number-type data. Very large or small numbers can be entered/shown using exponential form, e.g. 0.000001 can be entered as 1e-06.

Color-type data. The data is shown both as a colour chip (showing the currently set colour) and a string showing the value set which is either a Tinderbox named colour or otherwise a hexadecimal value string ("#330099").

Date-type data. Shows the data and time, with the date in the host OS' short date format, so this will vary by the user's locale - and choice of OS settings. On entering a date, if no time is specified, the time element of the attribute value defaults to current system time.

String-type data. Although generally intended to hold short text values, String attributes can hold larger amounts of text and including line/paragraph breaks. When not selected for edit, all text paragraphs run together. In edit more, the value edit box will only show the first paragraph of text. Use the right arrow to reach first paragraph text overflowing the edit box; use the down arrow key to access paragraph #2, etc. It is not possible to type a line break character in the edit box - but it is possible to copy/paste one into it.

URL-type data. A form of string attribute, URL attributes show a a globe icon to the left of the data value edit box. Clicking the button will open the URL set in the value in the user's default web browser.

List and Set data. All discrete list values are shown, as a single string of semicolon-delimited values.

A note's title can be shown (in editable form) negating the need to display $Name via the key attributes table.

Resetting default/inherited values. Only displayed String/Set/List type attributes allow resetting via the input using their pop-up value lists, by selecting the value 'normal'. For all other data types, inputting the default/null value of an attribute merely sets that value locally. To repair inheritance, with the note in question already selected, use any of:


Possible relevant notes (via "Similar Notes" feature):


A Tinderbox Reference File : Misc. User Interface Aspects : Displaying (key) attributes in Text windows