Disallow Editing Specified Cells in a Datagrid

Peter Haworth pete at lcsql.com
Wed Nov 20 16:29:59 EST 2013

Set dgColumnIsEditable["Col 1"] to false.  That applies to the whole column
of course so not sure if that's what you want.

lcSQL Software <http://www.lcsql.com>

On Wed, Nov 20, 2013 at 11:03 AM, Ray <ray at linkit.com> wrote:

> Does anybody have a way to disallow double clicking specified cells in a
> datagrid to edit them while continuing to allow the majority of cells to be
> edited?
> I'm currently catching the preOpenFieldEditor message and then sending my
> own handler which discontinues field editing after it has begun, but by
> that time the user has already opened the cell editing field.  This looks
> shabby (when I close it back up) and it might not work well on slower
> processors.
> I'd prefer to not let the editing process get started in the first place.
> Thanks,
> Ray Horsley
> LinkIt! Software
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

More information about the Use-livecode mailing list