trichview.com

trichview.support




Re: Resizing a control in a Cell


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/15/2003 20:31:49


Hi,


Sorry, there is no such event.

But you can set width of control in percents:


ar Item: TRVControlItemInfo;

  ...

Item :=Cell.GetRVData.GetItem(ItemNo) as TRVControlItemInfo;

Item.PercentWidth := 50;


> Hi Sergey,

>

> I have a control in a Cell of a table, I want to have this control resize

to

> fill the size of the cell, this should occur even when the table column or

> row is resized.

>

> I can do this using the tables OnDrawBorder event, but this only works if

i

> am expanding the size of the cell, and not shrinking it.

>

> Is there any chance of a OnResize event being published on the table

object?

>

> Regards

>

> Ben Vaughan

>

>





Powered by ABC Amber Outlook Express Converter