Datagrid locking field

Trevor DeVore lists at
Fri Apr 9 12:01:24 EDT 2010

On Apr 9, 2010, at 11:20 AM, jrarick at wrote:

> I am very appreciative of all the things that dg can do. But what I  
> need is a way to PREVENT the user from editing a fld. I need to be  
> able to disable the mousedouble messages. Is this possible? I am  
> using the guide and the tutorials ... But obviously not well enough!

You can always trap messages in the data grid group script so that  
they don't pass to the data grid behavior script. If you catch  
mouseDoubleUp/Down and don't pass it then you effectively override the  
normal behavior.

BUT if you just want to turn off editing of a column in a table check  
out the dgColumnIsEditable property:

Trevor DeVore
Blue Mango Learning Systems
Releasable Revolution Resources for Developers:

More information about the Use-livecode mailing list