Page 1 of 1
OnCaretMove Event not working?
Posted: Tue Mar 01, 2011 6:46 pm
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?
Posted: Tue Mar 01, 2011 7:28 pm
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)
SRV caret not moving with arrow keys
Posted: Sun Mar 20, 2011 1:04 pm
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
Posted: Sun Mar 20, 2011 2:07 pm
by Sergey Tkachenko
I am afraid I can help only if I will be able to reproduce this problem. (
Posted: Wed May 15, 2013 6:13 pm
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.
Posted: Thu May 16, 2013 6:46 am
by Sergey Tkachenko
Do you use the newest version of ScaleRichView? (5.4)
Posted: Thu May 16, 2013 4:06 pm
by AlexMzplik
nope, 4.8. Also I'm working on a virtual machine with win 7 ultimate, Delphi 2007
Posted: Fri May 17, 2013 10:32 am
by Sergey Tkachenko
Can you update to the newest version and check if this problem still exists?
Posted: Mon May 20, 2013 8:21 pm
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.
Posted: Tue May 21, 2013 7:25 am
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.