Page 1 of 1

Pressing Tab scrolls down all text until the end of window

Posted: Tue Apr 18, 2006 2:13 pm
by Marsianin
I have enought text which not fit the window so I have vertical scrollbar.
When this text is scrolled up and cursor set somewhere in the middle of the window pressing TAB scrolls down text until the line with cursor set at the last visible line.

As I can remember some old version of TRichView had the same bug but was fixed.

TRichViewEdit 1.9.24, BDS2006, WinXP

Posted: Wed Apr 19, 2006 7:13 pm
by Sergey Tkachenko
Sorry, how can I reproduce this problem?
For example, I open the ActionTest demo, it has readme.rvf loaded on start. I put caret somewhere in the middle of text and press tab, it works as expected.

Posted: Wed Apr 19, 2006 8:18 pm
by Marsianin
I don't really know why this happens but ActionTest works fine here.
I tryed to disable onkeypress and onkeydown events in my app's RichViewEdit - wasn't helped.
When pressing Tab in the middle of the text it flickers and scrolls it.
Can't imagine why this happens. But with the previous versions of TRichView this never happend in my app.
I don't know where to look :shock:

Posted: Thu Apr 20, 2006 7:16 pm
by Sergey Tkachenko
Try to disable code in all events

Posted: Sat Apr 22, 2006 7:53 am
by Marsianin
It's not my events.

Default RichView Actions project has the same bug if compiled under BDS2006.

Before I tested only downloaded exe. Now I've tryed to compile it under BDS2006 SP1 and got the same bug.

:?

I can send you compiled exe of RVAction Demo.

Posted: Sat Apr 22, 2006 12:31 pm
by Sergey Tkachenko
I still cannot reproduce the problem, both in the demo compiled using TRichView 1.9.20 (included in the trial for D2006), and in the demo compiled with the latest version.

I did not receive your e-mail. If it was send as an attached exe-file, my e-mail server rejected it.

Posted: Sat Apr 22, 2006 5:27 pm
by Marsianin
I never sent it yet :wink: Just asked.
But now it's done. Check your email at svt@...

Posted: Sun Apr 23, 2006 6:14 pm
by Sergey Tkachenko
Very strange, but your compiled demo works properly on my computer.

Posted: Sun Apr 23, 2006 8:02 pm
by Marsianin
I don't really know the nature of this problem but my application compiled in Delphi 7 never has this bug. Just tryed again.

Your RVActionsDemo project compiled under Delphi 2006 (on WinXP and on WinXP x64) has this bug only on WinXP x64.

But my application compiled in D2006 WinXP x64 shows this bug even under Win98.

P.S. Sent you two screenshots of it.

Posted: Sun Apr 30, 2006 2:54 am
by Marsianin
And another one hint.
This bug never happens when bottom (horizontal) scrollbar is visible !

Posted: Mon May 01, 2006 5:46 pm
by Sergey Tkachenko
I am sorry, I still cannot reproduce it

Posted: Tue May 02, 2006 12:00 pm
by Marsianin
Damn, but the broblem exists even in ActionsDemo and never happens when app compiled in D7, but on BDS2006 it appears.
May be you can advice me where to look ?