Re: Highlited text in a cd fld

2014-05-25 Thread Peter Haworth
Only one card but regularly go to other stacks and back without losing the hilite . Pete lcSQL Software On May 25, 2014 2:58 AM, J. Landman Gay jac...@hyperactivesw.com wrote: I don't know, I don't think I ever tried it in a non-toplevel stack. Does your modeless stack have more than one card

Re: Highlited text in a cd fld

2014-05-25 Thread J. Landman Gay
Okay, that would explain it. The hilitedline is lost when the card containing the list changes. Switching stacks won't affect it because the card with the list doesn't change. On May 25, 2014 9:13:00 AM CDT, Peter Haworth p...@lcsql.com wrote: Only one card but regularly go to other stacks

Re: Highlited text in a cd fld

2014-05-25 Thread J. Landman Gay
On 5/25/2014, 1:25 PM, Terence Heaford wrote: Is there a reason why the hilitedLine is lost when switching between cards? I don't know. The loss doesn't always happen though. If the list field is part of a group with background behavior and it has sharedtext set to true, the hilite is

Re: Highlited text in a cd fld

2014-05-24 Thread Terence Heaford
sharedText is false. All the best Terry On 23 May 2014, at 23:38, Dave Kilroy d...@applicationinsight.com wrote: Does the field by any chance have sharedtext set to true? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Re: Highlited text in a cd fld

2014-05-24 Thread Terence Heaford
No, contents are not changed in any way. Thanks for the suggestion. Terry On 23 May 2014, at 23:21, Peter Haworth p...@lcsql.com wrote: Are you changing the contents of the list field in any way when you return to the card it is on, perhaps in a resumestack handler? Any change to

Re: Highlited text in a cd fld

2014-05-24 Thread Terence Heaford
Has it always been this way? I am a newcomer to LiveCode. It is easy enough to save/set the hilitedLines when coming and going from another card but to have them highlighted automatically should in my opinion be the normal status and if you want them otherwise you script it. Thanks Terry On

Re: Highlited text in a cd fld

2014-05-24 Thread Terence Heaford
Yes but surely the default position should be that the status is maintained and if you want to change it, you script it. All the best Terry On 24 May 2014, at 04:16, dunb...@aol.com wrote: I think the explicit management of these sorts of properties are really the right way to make sure

Re: Highlited text in a cd fld

2014-05-24 Thread J. Landman Gay
On 5/24/2014, 1:39 AM, Terence Heaford wrote: Has it always been this way? I am a newcomer to LiveCode. It is easy enough to save/set the hilitedLines when coming and going from another card but to have them highlighted automatically should in my opinion be the normal status and if you want

Re: Highlited text in a cd fld

2014-05-24 Thread Peter Haworth
I don't see this in my scrolling list fields, maybe because they're on a modeless stack? Pete lcSQL Software On May 24, 2014 8:20 PM, J. Landman Gay jac...@hyperactivesw.com wrote: On 5/24/2014, 1:39 AM, Terence Heaford wrote: Has it always been this way? I am a newcomer to LiveCode. It is

Re: Highlited text in a cd fld

2014-05-24 Thread J. Landman Gay
I don't know, I don't think I ever tried it in a non-toplevel stack. Does your modeless stack have more than one card that you navigate from/to? If the style of the window is a factor, that'd be good to know. On 5/24/2014, 3:48 PM, Peter Haworth wrote: I don't see this in my scrolling list

Highlited text in a cd fld

2014-05-23 Thread Terence Heaford
I have noticed when using a cd field as a list/table that when switching from the card containing the field and back again that the highlight setting of any text is lost. Is this expected/normal behaviour? Am I expected to save all the current highlight status when leaving the card and

Re: Highlited text in a cd fld

2014-05-23 Thread dunbarx
when you navigate back. Craig Newman -Original Message- From: Terence Heaford t.heaf...@btinternet.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Fri, May 23, 2014 3:30 am Subject: Highlited text in a cd fld I have noticed when using a cd field as a list/table

Re: Highlited text in a cd fld

2014-05-23 Thread Terence Heaford
On 23 May 2014, at 13:57, dunb...@aol.com wrote: If you set listBehavior to true, the hilited lilne persists. But it does not if false. I do not know if this is a feature, bug, or omission. Whether I set listBehavior in the properties dialogue box or via. script the hilited line/lines do

Re: Highlited text in a cd fld

2014-05-23 Thread Peter Haworth
Are you changing the contents of the list field in any way when you return to the card it is on, perhaps in a resumestack handler? Any change to Alistair field loses the hilited lines property. Pete lcSQL Software On May 23, 2014 3:36 PM, Terence Heaford t.heaf...@btinternet.com wrote: On 23

Re: Highlited text in a cd fld

2014-05-23 Thread Dave Kilroy
Does the field by any chance have sharedtext set to true? - Some are born coders, some achieve coding, and some have coding thrust upon them. - William Shakespeare Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Highlited-text-in-a-cd-fld

Re: Highlited text in a cd fld

2014-05-23 Thread Bob Sneidar
I have a similar issue with any field. The focus is lost when switching to another app. It’s not just that the text is no longer selected, the cursor is no longer at the end of the text you were typing and the focus border is off for the field you were typing in. I have to click where I was

Re: Highlited text in a cd fld

2014-05-23 Thread J. Landman Gay
Terence Heaford t.heaf...@btinternet.com wrote: I have noticed when using a cd field as a list/table that when switching from the card containing the field and back again that the highlight setting of any text is lost. Is this expected/normal behaviour? It is both expected and normal. It

Re: Highlited text in a cd fld

2014-05-23 Thread dunbarx
...@iotecdigital.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Fri, May 23, 2014 7:24 pm Subject: Re: Highlited text in a cd fld I have a similar issue with any field. The focus is lost when switching to another app. It’s not just that the text is no longer selected, the cursor