trichview.com

trichview.support




Newbie: can't make InsertText position caret after text on TRVActionNew OnNew event


Return to index


Author

Message

William Reid Boyd

Posted: 08/27/2003 17:37:17


(Working through documentation. Please don't feel obliged to answer what I

expect will be flood of questions from me, but anyone looking in with time

to spare to respond appreciated and I will do same when I get to know

package better where I can ;;;)


Presently cloning RichActionsTest with my own TActionList. The following

doesn't do what I expected, in that the cursor remains positioned at the

<beginning> of the string. What should I do?


procedure TMainForm.rvActionNew1New(Sender: TObject);

begin

  RichViewEdit1.InsertText('Hello world! ', False);

end;


sincerely,


William Boyd





Powered by ABC Amber Outlook Express Converter