Page 1 of 1

[Demo] How to resize and drag&drop inserted controls

Posted: Fri Sep 23, 2005 8:23 am
by Sergey Tkachenko
http://www.trichview.com/support/files/dragcontrol.zip

Unlike images, controls are not resized by default. To enable resizing of the control, set its rvepResizable property to nonzero value, and select it in its OnMouseDown event.

Unlike all other content, drag&drop of controls is not processed automatically. To enable drag&drop, select the control in its OnMouseDown event and call RichViewEdit.BeginOleDrag when the user starts dragging it.