TCustomRichViewEdit.ResizeCurrentControl

<< Click to display table of contents >>

TCustomRichViewEdit.ResizeCurrentControl

Resizes control at the position of caret and quickly reformats the affected part of the document.

procedure ResizeCurrentControl(NewWidth, NewHeight: TRVCoord);

(introduced in version 1.4)

ResizeCurrentControl(...) is equivalent to TopLevelEditor.ResizeControl(TopLevelEditor.CurItemNo, ...).

Method type: editstyle editing-style.

 

See also methods:

ResizeControl;

SetControlInfoEd;

AdjustControlPlacement;

GetItemStyle.

See also properties:

ItemCount.

See also:

Modifying RichView items;

Item types.