Linked text question
Frank D. Engel, Jr.
fde101 at fjrhome.net
Wed Feb 16 10:36:38 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
One idea:
Store the list of words as a set of items on a single line for each
group:
dark,somber,gloomy
bright,cheerful,fun
...
then you can store the data in a single field or custom property. Now
to find the group, something like this might work:
repeat for each line x in field "My Hidden Field"
if myClickedWord is among the items of x then
doStuff
end if
end repeat
On Feb 16, 2005, at 10:13 AM, Mark Swindell wrote:
> Tom,
>
> That sounds like a good solution. Thanks. I don't do custom
> properties very well yet ... let's say I had 20 sets of such grouped
> sets of words in three separate fields. What might be the most
> efficient container system to hold these groups? Instinctively I'd
> just put them in 20 hidden fields and reference those, but that's
> probably not the cleanest solution (though it might be the easiest to
> manage and edit).
>
> Thanks,
> Mark
>
> On Feb 15, 2005, at 7:18 PM, Thomas McGrath III wrote:
>
>> This is perfect for custom properties or a container for these
>> 'linked' words. So if the selected word is in container whichone then
>> find & hilite any of the other words in that container in field 2,
>> etc. as a script....
>> You will have to have a predefined list of 'linked' words for each
>> grouping and also a way to tell how many or which instance if more
>> than one is found etc.
>>
>> HTH
>>
>> Tom
>>
>> On Feb 15, 2005, at 6:05 PM, Mark Swindell wrote:
>>
>>> How can I control linked text so that if I pass my mouse over
>>> textgroupA in field myField1, corresponding text in myField2 and
>>> myField3 would also hilight? In other words, I want specific text
>>> linked to "brother text" in other fields on the same card.
>>>
>>> Example: Field myField1 contains the word "dark." Field myField2
>>> contains the word "somber." Field myField3 contains the word
>>> "gloomy." If I pass the mouse over any of these three items, I want
>>> it and the other two to also hilite. (Hey, it's wet and rainy out.)
>>>
>>> Can one label linked text chunks and treat them as objects?
>>>
>>> Thanks
>>> Mark
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
- -----------------------------------------------------------
Frank D. Engel, Jr. <fde101 at fjrhome.net>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten
Son, that whosoever believeth in him should not perish, but have
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCE2iH7aqtWrR9cZoRAsV5AJ91QaFSaC4TbaVRVckTyucaIztR9gCfahw9
caebCrFHsrbC9ShO8G0wFn0=
=atO2
-----END PGP SIGNATURE-----
___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
More information about the use-livecode
mailing list