Bernd, you are a genius. I apparently have the heirarchy of behaviors 
backwards. I would have thought that this would set the behavior of ALL 
datagrids to include the button script. That of course would be disasterous. 

Bob S


> On Jul 19, 2018, at 10:35 , Niggemann, Bernd via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Bob,
> 
> if you want to use a a behavior for the datagrids make a button with 
> 
> on mouseDoubleUp
>   put the long name of the target
> end mouseDoubleUp
> 
> and then set the behavior of your datagrids like this
> 
> set the behavior of the behavior of the behavior of group "datagrid 1" to the 
> long id of button "myButtonName"
> 
> 
> this will put the "new" behavior at the top of the two behaviors of the 
> datagrid group. Obviously that will not work with editable fields.
> 
> Kind regards
> Bernd


_______________________________________________
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

Reply via email to