Problem with mouse scrolling since FW 2.5

Problem with mouse scrolling since FW 2.5

Postby driessen » 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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby Antonio Linares » Fri Dec 09, 2005 10:48 pm

Michel,

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

Code: Select all  Expand view  RUN
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
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby driessen » 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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby Antonio Linares » Sat Dec 10, 2005 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby driessen » Sat Dec 10, 2005 8: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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby driessen » Wed Dec 14, 2005 6: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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Postby Antonio Linares » Fri Dec 16, 2005 12:10 am

Michel,

Glad to know you solved it.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42127
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 2 guests