Problem transferring focus to another object

J. Landman Gay jacque at hyperactivesw.com
Tue Feb 15 13:05:05 EST 2011


On 2/14/11 7: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).

Take a look at the "focus" command in the dictionary, it sounds like 
what you need.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com





More information about the use-livecode mailing list