Page 1 of 1

Drag and drop

Posted: Tue May 27, 2008 9:22 am
by Hans H
How can I reposition a whole text line in RichviewEdit by draging it?

Posted: Tue May 27, 2008 11:45 am
by Sergey Tkachenko
The selection must start at the beginning of the line and must end at the beginning of the next line.

Drag and drop

Posted: Wed May 28, 2008 10:40 am
by Hans H
Sergey Tkachenko wrote:The selection must start at the beginning of the line and must end at the beginning of the next line.
Yes, off course. My problems starts while dropping. I want the line to be dropped not in the middle of a line but as an item under it. The problem is that I can't find a way to override the default dropping.

Some time since last time I spoke with you, Sergey. Hope everything is vell with you.

Hans

Posted: Thu May 29, 2008 10:35 am
by Sergey Tkachenko
There are events OnOle***, related to drag&drop.
But they are quite low level events.
Dropped content will start from the new line, if the selection started at the end of the previous line.