Windows menu palette & insertion point
Trevor DeVore
lists at mangomultimedia.com
Mon Feb 26 11:27:13 EST 2007
On Feb 25, 2007, at 11:42 PM, Scott Morrow wrote:
> I have an application that, under Windows, provides a menu bar on
> a palette. This has been a fine solution for most things but I am
> losing the insertion point in fields whenever the user goes to the
> palette window to select a menu item. This is particularly
> problematic for Copy & Paste.
>
> Do I need to constantly keep track of the selectedChunk (and
> worse)? I was hoping that there might be some half-way clean
> method for doing this that I'm missing because what I'm imagining
> right now seems pretty messy.
Hi Scott,
Unfortunately Rev stacks do not keep focus in a field when you
interact with another stack. When I've done in the past is store the
selectedChunk on suspendStack and restore it on resumeStack. One
problem with this approach though is that the suspendStack/
resumeStack messages are not balanced when using answer dialogs so
you need to take that into account.
For possible fixes to this see bugs:
http://quality.runrev.com/qacenter/show_bug.cgi?id=3412
http://quality.runrev.com/qacenter/show_bug.cgi?id=3787
--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com - www.screensteps.com
trevor at bluemangolearning.com
More information about the use-livecode
mailing list