Phil,
I had already tried that - and it worked - but...
the popup popped up on the mouseUp
which was strange - especially if you hold down the mouse longer than usual.
Thanks.
Paul Looney

On Jan 21, 2011, at 1:00 PM, Phil Davis wrote:

Try using a mouseUp handler - maybe that will give the line time to hilite first.
Phil


On 1/21/11 12:55 PM, Paul Looney wrote:
Sorry zryip,
That did not work, though it looks like it should.
Still the same problem: the popup appears before the clicked line is hilited.
Thanks for the suggestion.
Paul Looney

On Jan 21, 2011, at 12:22 PM, zryip theSlug wrote:

On Fri, Jan 21, 2011 at 9:05 PM, Paul Looney <[email protected]> wrote:
Help please.
I am trying to use a popup button with a datagrid.

I have code, in the dg, that looks like this:

on mouseDown
    popup btn "Selected Orders Popup"
end mouseDown

The popup works fine but the selected line in the dg is not hilited until after something is selected in the popup. So, to the user, it looks like the
popup refers to the previously selected line.
I will probably solve it but figured someone on the list already has the
solution.

Thanks in advance.

Paul,

on mouseDown
   popup btn "Selected Orders Popup"
   pass mouseDown
end mouseDown


Best regards,
--
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to