table protected

General TRichView support forum. Please post your questions here
Post Reply
bsanlang
Posts: 80
Joined: Sun Sep 24, 2006 1:03 am

table protected

Post 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.
bsanlang
Posts: 80
Joined: Sun Sep 24, 2006 1:03 am

Post by bsanlang »

Can you help me?
Sergey Tkachenko
Site Admin
Posts: 17522
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
bsanlang
Posts: 80
Joined: Sun Sep 24, 2006 1:03 am

Post by bsanlang »

Can you add a function that draw Diagonal for the table.
Sergey Tkachenko
Site Admin
Posts: 17522
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

You can draw it in table.OnDrawBorder event.
Post Reply