Highlited text in a cd fld

Peter Haworth pete at lcsql.com
Fri May 23 18:21:46 EDT 2014


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.heaford at btinternet.com> wrote:

>
> On 23 May 2014, at 13:57, dunbarx at 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 not persist when going to another card and back
> again.
>
> LC 6.6.1 OSX 10.9.3
>
> The only solution would seem to be to save the state (hilitedLines) on
> closeCard and reset on openCard.
>
> Perhaps it works as you describe on other platforms but I have no way of
> checking.
>
>
> All the best
>
> Terry
> _______________________________________________
> 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