On 10/06/10 12:06 PM, "Alex Adams" <[email protected]> wrote:
> I have a number of datagrids that behave in a way that is not intended and
> I¹m curious if there is a simple way to solve the problem.
>
> I have a mouseUp event the script of the datagrid. It works well except
> that it is triggered even when there is click in a scroll bar.
>
> I¹m imagining that changing the row style from a table to a form that I can
> move the event to the behaviors? I¹ll be making that change in the next
> version or so, but I¹d like to fix this the way it is first.
Hi Alex - how about just filtering out the elements you don't want?
on mouseUp
put the short name of the target into tTarget
switch tTarget
case " dgAlternatingRows"
case [other things I don't want triggering my code]
exit mouseUp
break
default
-- do mouseUp stuff
end switch
end mouseUp
Terry...
>
> Any ideas?
>
> Thanks in advance,
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution