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

Demos, code samples. Only questions related to the existing topics are allowed here.
Post Reply
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

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

Post 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.
Post Reply