Windows menu palette & insertion point

Scott Morrow scott at elementarysoftware.com
Mon Feb 26 16:46:32 EST 2007


HelloTrevor,
   With the exception of the dialog boxes (thanks for the possible 
workaround in the bug report) this problem seems much less daunting now 
than I had first imagined.  Thank you.

Scott Morrow
Elementary Software

On Feb 26, 2007, at 8:27 AM, Trevor DeVore wrote:

> 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