trichview.com

trichview.support




Re: resized components overwriting text


Return to index


Author

Message

Sergey Tkachenko

Posted: 04/19/2004 20:40:56


As for reformatting, use AdjustControlPlacement2 method.


As for resizing detection, I cannot help. Some controls have OnResize event,

but most of them do not.

But usually you know when the control is resized because you resize it

yourself (for example, by assinging new font to the label)



> Hello.

>

> I have a tLabel inserted into a richviewEdit. If I change the font on the

> tLabel to BOLD, it obviously gets wider. However, it then overwrites the

> text that was next to it.

>

> Is there a way to detect that the inserted control has changed size and

> reformat the document appropriately?

>

> -Dave





Powered by ABC Amber Outlook Express Converter