Table field that won't lock
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Table field that won't lock
I have a project with a table field, which I want to have list behavior, and I have the locktext set to true, however whenever I click a line it wants to go into cell-edit mode. How do I avoid this? I want the entire line to hilite, but do not want the table to be editable by the user, just single line selections.
I know this seems like it should be dead simple, and I'm sure I've done it before, but I can't seem to find the magic combination of properties which gets these results.
A little help please.
I know this seems like it should be dead simple, and I'm sure I've done it before, but I can't seem to find the magic combination of properties which gets these results.
A little help please.
Hi Troy,
Create a normal field, turn on the horizontal and vertical grid, set the tabstops, and set locktext and listbehavior to true.
Best,
Mark
Create a normal field, turn on the horizontal and vertical grid, set the tabstops, and set locktext and listbehavior to true.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Troy,
Choose the pointer tool, select the table field and try this in the message box:
It is not really straightforward, I know.
Actually, I never use Rev's table objects. I made my own table object and I adjust it as needed for my projects.
Best,
Mark
Choose the pointer tool, select the table field and try this in the message box:
Code: Select all
put the cRevTable["cellEdit"] of the selectedobject
Actually, I never use Rev's table objects. I made my own table object and I adjust it as needed for my projects.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Ah, I see. I hadn't realized there was a special custom property which was causing that behavior, though I was beginning to suspect it after toggling virtually every other property without result.
OK, now I know better. I suppose that cell editing behavior could be useful on other occasions - just not this time! Thanks for the info.

OK, now I know better. I suppose that cell editing behavior could be useful on other occasions - just not this time! Thanks for the info.