trichview.com

trichview.support




Re: TrvActionInsertTable


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/14/2003 20:01:02


> That's understood.

> What is odd is that when I create a table with e.g 4 columns using

> "Autosize" the table is wider then using "size table to fix window".

> They should be equal.

> The "size table to fix window"-version fits better. But I need the

> flexibility of the "Autosize"-version.


The problem may be in improper name "Autosize". But "Fit by contents" is

also inappropriate...


>

> > Current version of RichView does not allow to resize with mouse tables

with

> > table.BestWidth>0 (it's only possible to change relative widths of

columns)

>

> OK, to overcome this obsticle I'd like to write a method where I can

> change the fixed table width to a flexible width and vice versa. I've

> already experimented changing bestwidth of cells and table but without

> success. How could I do this?


Table has "flexible" with if its BestWidth = 0, otherwise its width is

defined in pixels or percents.

If BestWidth=0, there are two possibilities:

- widths of all columns are defined in pixels: table has flexible width that

can be adjusted with mouse;

- widths of some columns are defined in percents or undefined: table width

is like BestWidth=-100 (100%)





Powered by ABC Amber Outlook Express Converter