Problem With HardPage

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
Post Reply
prosoft
Posts: 24
Joined: Tue Jul 11, 2006 8:51 am

Problem With HardPage

Post by prosoft » Fri Oct 10, 2008 2:11 pm

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?

Sergey Tkachenko
Site Admin
Posts: 14767
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko » Fri Oct 10, 2008 3:11 pm

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.

Post Reply