RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRichEdit.OnResizeRequest Event

Occurs when the text has grown either smaller or larger than the control's window size.

Pascal
property OnResizeRequest: TRichEditResizeEvent;
C++
__property TRichEditResizeEvent OnResizeRequest;

Write an OnResizeRequest event handler to respond to notifications that the edit control is trying to resize due to changes in the text. The Rect parameter gives the desired bounding rectangle that will display all the text, in screen coordinates. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!