"Contents" field in Inspector

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
bjb007
Posts: 313
Joined: Fri Dec 28, 2007 4:56 am

"Contents" field in Inspector

Post by bjb007 » Sat Aug 09, 2008 7:25 am

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 ?
Life is just a bowl of cherries.

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Post by BvG » Sat Aug 09, 2008 8:26 am

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.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

bjb007
Posts: 313
Joined: Fri Dec 28, 2007 4:56 am

"Contents" field in Inspector

Post by bjb007 » Sat Aug 09, 2008 9:59 am

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!
Life is just a bowl of cherries.

Post Reply