Editable Image Cells

Image cells (editable or not) may contain two text strings: an image file specification and some text to display along with the image in the cell (separated from the file spec by a comma). When updating an editable image cell during re-entry, you can use any of the following formats in the answer array field corresponding to the cell:

Answer

Operation

<blank>

clear text in cell, leave image alone

imgspec

replace existing image, clear text

imgspec,

same as above

text

leave image alone, replace text

,text

delete existing image from cell, replace text

imgspec,text

replace image, replace text

 

Note that XTREE distinguishes between the "imgspec" and "text" cases by whether the field contains a valid image extension.

On return from XTREE, the answer array cells will contain just the text that displays in the cell along with the image, unless you edit the cell, in which case it will contain exactly what was entered.