On 15/02/11 11:56 PM, "Peter Brigham MD" <pmb...@gmail.com> wrote:
> 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? Thanks Peter - I ended up doing this and parsing the mouse coordinates to determine which line to hilight in the the menu field. Terry... > > -- Peter > > Peter M. Brigham > pmb...@gmail.com > http://home.comcast.net/~pmbrig > -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode