Page 1 of 1

"Contents" field in Inspector

Posted: Sat Aug 09, 2008 7:25 am
by bjb007
I haven't found/seen any mention of the
options for the "Contents" field in the Object
Inspector.

What do the three icons do?
First one removes the horizontal
scrollbar, second adds a number of
lines, third wants to open a file.

Clues about using these would be
appreciated.

Can I put code here to get the
result of a calculation put into a
field e.g var1 + var2 ?

Posted: Sat Aug 09, 2008 8:26 am
by BvG
You are talking about the contents pane for fields.

The first icon (little return arrow icon) toggles the dontWrap property, so that Text breaks or doesn't break.
The second one (table grid icon) toggles grid lines on and off, which is only usefull for tab delimited data.

The third one (folder icon) loads a file content into the selected file. This one actually changes the contents of the selected field, whereas the other two only change the view in the inspector.

I think there used to be tooltips describing these buttons, but it seems they got lost.

"Contents" field in Inspector

Posted: Sat Aug 09, 2008 9:59 am
by bjb007
Wonder why I posted this under "Media"?

Sure I'll find a use for the ability to open
a file a put its contents into a field.

Will have a play!