FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper Problem with mouse scrolling since FW 2.5
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM

Problem with mouse scrolling since FW 2.5

Posted: Fri Dec 09, 2005 10:06 PM

First of all, I use Clipper 5.3b, Blinker 7.0 and FW 2.7

Since I use FW 2.5, 2.6 or 2.7, there is a problem with mouse scrolling in a listbox.

If I set the focus to one of the four or five last lines of a listbox and I use the mouse scroll to scroll down, the listbox scrolls to the left but not down.

I know there is a problem with the mouse scrolling in FW 16-bits (one can only scroll down, not scroll up), but until FW 2.4, mouse scrolling just worked fine for scrolling down in a listbox, even with the focus on the last line.

What is the problem ? How can it be solved ?

(I hope that everyone can understand what I mean).

Thank you.

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Problem with mouse scrolling since FW 2.5

Posted: Fri Dec 09, 2005 10:48 PM
Michel,

It is not a bug, it is a behavior that has been coded that way.

You may modify it in METHOD MouseWheel( ... ) CLASS TWBrowse:

...

   if aPos[ 1 ] > ::nHeight * 0.80   // Close to the bottom
      if nDelta > 0
         ::GoLeft()
      else
         ::GoRight()
      endif
   else
      ...



Simply remove that part of the if.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM

Problem with mouse scrolling since FW 2.5

Posted: Sat Dec 10, 2005 12:08 AM

Antonio,

Thanks a lot for your answer. I know what you mean.

So I took a copy of wbrowse.prg from the FW-files and changed it like you told me to do.

Then I wanted to add my wbrowse.prg to my library. But while compiling, I got a preprocessor table overflow.

How do I have to solve that problem ?
Or can you send me a obj-file of the changed wbrowse.prg ?

Thanks a lot.

Michel

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Problem with mouse scrolling since FW 2.5

Posted: Sat Dec 10, 2005 08:02 AM

Michel,

You may use Clipper 5.2 E to compile the PRG as it has more preprocessor capability that 5.3.

Keep using 5.3 libraries, there is no problem with it.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM

Problem with mouse scrolling since FW 2.5

Posted: Sat Dec 10, 2005 08:47 AM

Antonio,

I wish I had Clipper 5.2e now. Unfortunately, I don't.

Michel

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM

Problem with mouse scrolling since FW 2.5

Posted: Wed Dec 14, 2005 06:18 PM

Antonio,

I was able to get Clipper 5.2e from a friend.

Problem is solved now.

Thanks.

Michel

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Problem with mouse scrolling since FW 2.5

Posted: Fri Dec 16, 2005 12:10 AM

Michel,

Glad to know you solved it.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion