OnCaretMove Event not working?

General TRichView support forum. Please post your questions here
Post Reply
WarrenG
Posts: 3
Joined: Tue Mar 01, 2011 6:34 pm

OnCaretMove Event not working?

Post by WarrenG »

This is really odd. I have a TDBSRVRichViewEdit component on a form and everything is working, except that the cursor doesn't move on the screen when I use the arrow keys. The rulers update themselves and if I type in text it will appear where the cursor should be. I added something to the OnCaretMove event to see what might be happening but it isn't being triggered.
I have the same component on another form and it's working fine. As far as I can see the properties are exactly the same on both components.
Has anyone else come across this before?
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Is it possible to create a sample project reproducing this problem?
(and, if you do not use the latest ScaleRichView version, please update it)
WarrenG
Posts: 3
Joined: Tue Mar 01, 2011 6:34 pm

SRV caret not moving with arrow keys

Post by WarrenG »

I've updated now to RV13 and SRV4 and still have the problem. It's only on this large application that I am developing and even then I have exactly the same controls on two forms. One works and the other doesn't.
The arrow up, down, left, right, home, end keys don't move the caret but the actual position of the caret is updated - the rulers update and if I start typing in text it appears where the caret should be, not where it is showing on screen. If I hold down shift and arrow the correct text is highlighted
Page up and Page down do work though.
Also, if I down arrow so that the caret would be off the bottom of the display (i.e. onto a second page in the document) then the display doesn't scroll.
I've checked all of the properties and events between the two forms and I can't see any difference (apart from the DB and field used).
Best regards
Warren
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I am afraid I can help only if I will be able to reproduce this problem. (
AlexMzplik
Posts: 3
Joined: Wed May 15, 2013 2:17 pm
Location: Curitiba, Parana

Post by AlexMzplik »

I'm having the same problem here.

If I recreate the TSRichViewEdit again, it works back ok, but when I add a simple OnCaretMove procedure, all hell breaks loose...

And the procedure has nothing of great importance, just set the statusbar the caret position. And it still doesn't work if I remove the procedure.

The caret moves but is not visible its movement, when you begin to write, it reappears at its real position.
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Do you use the newest version of ScaleRichView? (5.4)
AlexMzplik
Posts: 3
Joined: Wed May 15, 2013 2:17 pm
Location: Curitiba, Parana

Post by AlexMzplik »

nope, 4.8. Also I'm working on a virtual machine with win 7 ultimate, Delphi 2007
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Can you update to the newest version and check if this problem still exists?
AlexMzplik
Posts: 3
Joined: Wed May 15, 2013 2:17 pm
Location: Curitiba, Parana

Post by AlexMzplik »

I'm having a message about firewall problem when the installer starts to download a new version, even with my switch and windows (both virtual e local machine) firewalls are disabled, so no, not possible at the moment to update.
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

You can download new versions directly and turn off update checking in the installer.
Please send me (in a private message) details of your order (for example, email address used in it), and I'll send you direct links.

Sorry, we cannot accept bug reports for old versions.
Post Reply