Problem transferring focus to another object

Peter Brigham MD pmbrig at gmail.com
Tue Feb 15 07:56:59 EST 2011


On Feb 14, 2011, at 8:24 PM, Terry Judd wrote:

> Hi there - I’m trying to build a ‘fake’ optionmenu control where the  
> menu is
> a list field object that is popped up over the control. I have a  
> mouseMove
> handler in the field to set the hilitedLines of the field and this  
> all works
> well provided the user clicks the control to popup the menu (field)  
> and
> releases the mouse before selecting an option. However, if the mouse  
> is held
> down then the focus stays with the control and there doesn’t seem to  
> be any
> way to hand it over to the menu (field).
>
> Any suggestions?

Try grouping the control and the list field and putting the mousemove  
handler into the group script?

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig






More information about the Use-livecode mailing list