Page 1 of 1

Problem With HardPage

Posted: Fri Oct 10, 2008 2:11 pm
by prosoft
When i press Ctrl-Return in Action Demo this inserts hard page and caret goto new page. It is ok.

1. Problem

When i press Ctrl-Return in my application this inserts new line and jump to begin of line. that is wrong.

2.problem
I inserted tool button with rvActionsResource.rvActionInsertPageBreak1 to my toolbar. Now when i click on button new page is inserted but caret doesn't jump to new page. it jumps when i press any key.

My application is specific that i create sRichViewEdit in runtime mode. I have frame that contains visual richviewedit components an i insert this frame in runtime.

Can you help me?

Posted: Fri Oct 10, 2008 3:11 pm
by Sergey Tkachenko
As for the first question: Ctrl+Return is not processed by TRichViewEdit/TSRichViewEdit. It adds page break in the ActionTest demo because this is a Shortcut of the insert-pagebreak action.
As for the second question, Ilya will answer.