Table keywords missing from Dictionary?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 346
- Joined: Mon Mar 01, 2010 7:13 pm
- Location: London, UK
- Contact:
Table keywords missing from Dictionary?
LC 9.0.1
I'm exploring table fields, but the LC Dictionary seems to be missing a number of entries. When I type "cell" into the Dictionary's search field I get very little, and I don't get anything for cellEdit, cellFormat, and so on.
Where can I find info about these items and other table-related words, in particular stuff about addressing specific cells?
I'm exploring table fields, but the LC Dictionary seems to be missing a number of entries. When I type "cell" into the Dictionary's search field I get very little, and I don't get anything for cellEdit, cellFormat, and so on.
Where can I find info about these items and other table-related words, in particular stuff about addressing specific cells?
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
-
- VIP Livecode Opensource Backer
- Posts: 9648
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Table keywords missing from Dictionary?
Hi.
I do not think that "cell" is a native word in LC, however commonly we use it and think of it. As I just did, when talking about table fields, say, I always put it into quotes.
Anyway, that is likely the reason there is little said about it.
What are your specific questions? I understand what you mean generally. For example, the editable "cell" (see?) that appears when one is trying to type into a table field is actually a separate field that is sized for and overlies the "cell" (see?) of interest.
Craig Newman
I do not think that "cell" is a native word in LC, however commonly we use it and think of it. As I just did, when talking about table fields, say, I always put it into quotes.
Anyway, that is likely the reason there is little said about it.
What are your specific questions? I understand what you mean generally. For example, the editable "cell" (see?) that appears when one is trying to type into a table field is actually a separate field that is sized for and overlies the "cell" (see?) of interest.
Craig Newman
Re: Table keywords missing from Dictionary?
I hate to say it, but I was never able to locate information about the topic from what came with Lc past vers. 2.x.
Before I got that version, the best method I could recommend was to let your search engine do the walking... Livecode lessons has several good erm... lessons on fields which cover tables in fields, and Max's excellent wiki also has some good information.
Probably because that is how you might see it listed in the property inspector
-
- VIP Livecode Opensource Backer
- Posts: 3999
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: Table keywords missing from Dictionary?
Hi Keith,
a tableField is "just" a tab delimited text.
Say you want to address cell 2 of column 2
that would be two tab delimited items in line 2 of your tableField
To query this:
Bernd
a tableField is "just" a tab delimited text.
Say you want to address cell 2 of column 2
that would be two tab delimited items in line 2 of your tableField
in this way you can populate the tableField by script.on mouseUp
set the itemDelimiter to tab -- don't forget this
put 2 into item 2 of line 2 of tText
put tText into field "yourTableField"
end mouseUp
To query this:
Kind regardson mouseUp
set the itemDelimiter to tab -- by now you already know this
put item 2 of line 2 of field "yourTableField"
end mouseUp
Bernd
-
- VIP Livecode Opensource Backer
- Posts: 346
- Joined: Mon Mar 01, 2010 7:13 pm
- Location: London, UK
- Contact:
Re: Table keywords missing from Dictionary?
Huh. Okay, it’s clear that I need to rethink what I thunk about tables!
The reason I thought cellEdit and cellFormat would be valid words in the LCC language is because that’s what’s in the tooltips for certain checkboxes in the table inspector. Normally the words in those tooltips show the relevant script keyword for controlling stuff through code. It’s disappointing that this isn’t consistent.
The reason I thought cellEdit and cellFormat would be valid words in the LCC language is because that’s what’s in the tooltips for certain checkboxes in the table inspector. Normally the words in those tooltips show the relevant script keyword for controlling stuff through code. It’s disappointing that this isn’t consistent.
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
-
- VIP Livecode Opensource Backer
- Posts: 346
- Joined: Mon Mar 01, 2010 7:13 pm
- Location: London, UK
- Contact:
Re: Table keywords missing from Dictionary?
But...
Hang on a second...
[SFX: mind blowing]
Thanks Bernd, this is a very cool revelation. Time for me to experiment!
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
-
- VIP Livecode Opensource Backer
- Posts: 9648
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Table keywords missing from Dictionary?
ThatKeith.
If you really want to experiment, pull an ordinary field from the tool palette. Now go into the inspector and open the "table"pane. Click everything, and set the tabtops to about 50.
Voila. A table field is a field with certain properties set.
Craig
If you really want to experiment, pull an ordinary field from the tool palette. Now go into the inspector and open the "table"pane. Click everything, and set the tabtops to about 50.
Voila. A table field is a field with certain properties set.
Craig
Re: Table keywords missing from Dictionary?
Two of the lessons I found most helpful would be "Display Tab Delimited Text in a Table Field" and "Display a table in a field".