Link Text

Chris Sheffield cmsheffield at me.com
Fri Feb 3 13:09:57 EST 2012


Pete,

Make sure the sharedText property is set to true on your field. That way the text should be shared across all cards without you having to repopulate the field. And it should keep your links intact, I believe.

Chris



--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com

On Feb 3, 2012, at 10:55 AM, Pete wrote:

> Thanks Terry, I found the problem.  There was indeed something in a group
> script that was causing the problem.
> 
> Maybe I'm going about this the wrong way but I'm trying to implement a help
> system for my application.  It's a series of cards in one stack.  I've
> defined a background group for the help navigation area, which is where I
> have the field with the link text.  Since it's a background group, it
> appears on each new card I create in the stack.  So far so good.  Problem
> is, while that gets the navigation field on all the cards, it doesn't get
> its contents.  So I put some code in there to copy the navigation field
> contents from card 1 of the stack to the current card. The text gets
> copied, but the links are no longer there, even though they are still there
> on the first card in the stack.
> 
> I'm delving into yet another new area of LC, text links, so no doubt I'm
> not understanding something.  Any suggestions much appreciated!
> 
> Pete
> 
> On Thu, Feb 2, 2012 at 6:41 PM, Terry Judd <tsj at unimelb.edu.au> wrote:
> 
>> On 03/02/2012, at 01:30 PM, Pete wrote:
>> 
>> I'm trying to set the link text of a line of text in a field.  I'm doing
>> while in browse mode by highlighting the line of text then selecting "Link"
>> from the Text menu.  The text changes color and if I click on it, all works
>> as expected.  However if I close the card, then open it again, all the
>> links are gone.  How can I make these links "stick"?
>> 
>> They should stick. Are you sure you're not setting the contents of the
>> field to some previously saved state on a preopencard or opencard handler?
>> 
>> Terry...
>> 
>> 
>> 
>> --
>> Pete
>> Molly's Revenge <http://www.mollysrevenge.com>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
> 
> 
> -- 
> Pete
> Molly's Revenge <http://www.mollysrevenge.com>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list