Redrawing datagrid from within

Sarah Reichelt sarah.reichelt at gmail.com
Mon Apr 12 16:49:24 EDT 2010


On Tue, Apr 13, 2010 at 5:47 AM, Andrew Kluthe <andrew at rjdfarm.com> wrote:
>
> Ok, so I had a little handler that deletes all the data associated with any
> given lease. It works fine when it is in the mouseUp of a button.
>
> but, the boss would like the ability to double right click on the leaseName
> of the grid and delete the lease (and all information attatched to it).
>
> It works fine in deleting the data but my data grid breaks when I put this
> into a column behavior.


If it works fine in a button's mouseUp, then just have your
double-right-click send a mouseUp to that button in 2 ticks or
something like that. This takes the processing out of the data grid
itself and all should be well.

Cheers,
Sarah



More information about the use-livecode mailing list