Page 1 of 1
Table field that won't lock
Posted: Wed Nov 28, 2007 6:52 am
by Troy
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.
Posted: Wed Nov 28, 2007 6:57 am
by Troy
In the meantime, I guess I'm just switching it to a standard list field, with tabstops.
Posted: Wed Nov 28, 2007 9:45 am
by Mark
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
Posted: Wed Nov 28, 2007 4:42 pm
by Troy
Thanks Mark, that's what I did last night.
But I'm curious, what property is it in the "table" that makes it behave differently? No matter what I did, I couldn't seem to convert the table into having the same attributes as the normal field as described.
Posted: Wed Nov 28, 2007 5:05 pm
by Mark
Troy,
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
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
Posted: Wed Nov 28, 2007 5:24 pm
by Troy
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.