Keep Selection Focus When Switching to Substack
Paul Hibbert
paul at livecode.org
Sat Oct 24 03:14:06 EDT 2015
On Oct 23, 2015, at 19:51, Sannyasin Brahmanathaswami <brahma at hindu.org> wrote:
>
> I think I asked this before,
>
> but… is there a way to keep the selection when switching to a substack that is set to palette?
>
> The goal is to have buttons that operate on selected text, but in a separate stack.
>
> Brahmanathaswami
>
> _______________________________________________
> 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
Which LC version on which platform?
I just tried LC 7 & 8 and it seemed to work OK, but in LC5.5.5 the focus was lost on switching to a palette stack.
Maybe as insurance you could put the selectedChunk into a global or custom property on suspendStack.
Paul
More information about the use-livecode
mailing list