Pressing Tab scrolls down all text until the end of window

General TRichView support forum. Please post your questions here
Post Reply
Marsianin
Posts: 193
Joined: Sun Sep 25, 2005 11:03 pm

Pressing Tab scrolls down all text until the end of window

Post 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
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Marsianin
Posts: 193
Joined: Sun Sep 25, 2005 11:03 pm

Post 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:
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Try to disable code in all events
Marsianin
Posts: 193
Joined: Sun Sep 25, 2005 11:03 pm

Post 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.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Marsianin
Posts: 193
Joined: Sun Sep 25, 2005 11:03 pm

Post by Marsianin »

I never sent it yet :wink: Just asked.
But now it's done. Check your email at svt@...
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Very strange, but your compiled demo works properly on my computer.
Marsianin
Posts: 193
Joined: Sun Sep 25, 2005 11:03 pm

Post 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.
Marsianin
Posts: 193
Joined: Sun Sep 25, 2005 11:03 pm

Post by Marsianin »

And another one hint.
This bug never happens when bottom (horizontal) scrollbar is visible !
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

I am sorry, I still cannot reproduce it
Marsianin
Posts: 193
Joined: Sun Sep 25, 2005 11:03 pm

Post 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 ?
Post Reply