Windows menu palette & insertion point

Eric Chatonet eric.chatonet at sosmartsoftware.com
Mon Feb 26 05:44:41 EST 2007


Scott,

Sorry: I missed that your menus were in another window.
But this should not change anything:
Look at Rev tool bar: selecting a menu item does not deselect text.
So I suspect that you have another code snippet that introduces this  
non-wanted side-effect: suspendStack?

Best Regards from Paris,
Eric Chatonet

Le 26 févr. 07 à 10:24, Scott Morrow a écrit :

> Eric,
> Thanks for the response.  I haven't found that to work when the  
> menu button is in a window that is different from the window  
> containing the field.
>
> -Scott Morrow
>
> Elementary Software
> (Now with 20% less chalk dust !)
> web     http://elementarysoftware.com/
> email   scott at elementarysoftware.com
>
> -----------------------------------------------------------------
>
> On Feb 26, 2007, at 1:00 AM, Eric Chatonet wrote:
>
>> Hi Scott,
>>
>> Set the traversalOn of you menu buttons to false should' solve  
>> your problem:
>>
>> Setting the traversalOn to false for any object means that this  
>> object no longer can become the active (focused) object.
>> Then the focus can stay on your field.
>> Hope this helps.
>>
>> Le 26 févr. 07 à 08:42, Scott Morrow a écrit :
>>
>>> 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.
>>>
>>> -Scott Morrow

------------------------------------------------------------------------ 
----------------------
http://www.sosmartsoftware.com/    eric.chatonet at sosmartsoftware.com/





More information about the use-livecode mailing list