Page 1 of 1

table protected

Posted: Mon Aug 30, 2010 3:44 am
by bsanlang
I have assigned properties of a table.
table.DeleteProtect := true;
table.Options := table.Options + [rvtoRowSizing];
table.Options := table.Options + [rvtoColSizing);];
table.Options := table.Options + [rvtoIgnoreContentWidth];
table.Options := table.Options + [rvtoIgnoreContentHeight];

but It will be add a new row when I press the Tab key.
I do not want to create a new row. How can I do?

Can you add a function that draw Diagonal for the table.

Posted: Tue Aug 31, 2010 1:59 am
by bsanlang
Can you help me?

Posted: Tue Aug 31, 2010 5:42 pm
by Sergey Tkachenko
DeleteProtect protects table from deletion, but does not protect from changes.
There is a global variable RichViewTableAutoAddRow, that can disallow adding new rows on Tab in all tables in all editors in the application.

Posted: Wed Sep 01, 2010 12:12 pm
by bsanlang
Can you add a function that draw Diagonal for the table.

Posted: Wed Sep 01, 2010 5:49 pm
by Sergey Tkachenko
You can draw it in table.OnDrawBorder event.