Datagrid locking field

Trevor DeVore lists at mangomultimedia.com
Fri Apr 9 11:01:24 CDT 2010


On Apr 9, 2010, at 11:20 AM, jrarick at hpsk12.net 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:

http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7343-Data-Grid-Properties

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com



More information about the use-livecode mailing list