Page 1 of 1

Resizing a table using the Ruler

Posted: Sun Mar 05, 2006 1:09 pm
by Hanno
Hi,

I am just using the Ruler component and cannot find any help for it. It is very useful for resizing columns in a table, even the right side of a table, but if I try to resize the left of the table, it changes the margins/First indent for the whole page. In MS Word the same action only affects the table. I am resizing using the table resize glyph, not the first indent glyph. So is there a setting or something that I am missing to enable just the table to be indented/resized from the left, using the Ruler?

Also, what effect does the "Active" property in the TableEditor options have?

Posted: Sun Mar 05, 2006 5:57 pm
by Sergey Tkachenko
The developer of this ruler is Pieter Zijlstra http://www.trichview.com/forums/profile ... file&u=203

You can find his e-mail in Ruler.pas.

If you will not get answer here, you can ask him directly.

Posted: Sat Mar 11, 2006 4:11 pm
by Pieter Zijlstra
The left side of the table is determined by the left-indent of the underlying paragraph.

The crSizeWE cursor you see when you hover over the left-side-table-marker is not from that marker but from the underlying document leftmargin.
TRVRuler currently does not support modifying the left-side of the table. I will see if I can add the option to also modify the left side of a table but as it looks now it will not be there before the end of the month.

The Active property in the TableEditor options is used internally by TRVRuler to activate handling of tables (drawing the glyphs, dragging columns, etc). It is set to True when the caret enters a table and False when the caret leaves a table. That this option is visible in the Object Inspector is a left-over from when the TableEditor was developed ;-)