Cursor not showing when TSRichViewEdit is in a VCL Frame

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
Post Reply
rron
Posts: 3
Joined: Tue Mar 25, 2008 12:14 am
Contact:

Cursor not showing when TSRichViewEdit is in a VCL Frame

Post by rron » Thu Dec 13, 2018 4:15 pm

If I place a TSRichViewEdit in a frame, the cursor is not shown. When I place the same TSRichViewEdit directly in the form that contains the frame, the cursor is visible (and blinking). Using Delphi 10.3 Rio and ScaleRichView-Pre9.

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

Re: Cursor not showing when TSRichViewEdit is in a VCL Frame

Post by Sergey Tkachenko » Wed Dec 26, 2018 4:15 pm

I confirm the problem.
Quick fix: open <TRichView Dir>\ScaleRichView\Source\SclRView.pas, add to the end of the procedure TSRichViewEdit.CreateWnd:

Code: Select all

  if srvs_TimerCaret in FState then
    UpdateCaretTimer;

Post Reply