Popup button and DataGrid
revdev at pdslabs.net
Fri Jan 21 15:00:51 CST 2011
Try using a mouseUp handler - maybe that will give the line time to hilite first.
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 <support at ahsomme.com> 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
>>> Thanks in advance.
>> on mouseDown
>> popup btn "Selected Orders Popup"
>> pass mouseDown
>> end mouseDown
>> Best regards,
>> -Zryip TheSlug- wish you the best! 8)
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
Professional Software Development
More information about the use-livecode