FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Combobox and scroll mouse SOLVED
Posts: 2170
Joined: Fri Jul 18, 2008 01:24 AM
Combobox and scroll mouse SOLVED
Posted: Thu Aug 01, 2013 01:30 AM

Hello friends.
Why if a combobox has focus and we do scroll with the mouse in any other control of a dialog, change combobox items?. And if we do several scrolls up and down, always away from the combobox, the items themselves are constantly changing?

This is the correct behavior of the combobox, or ... Right?

I thank if any of you confirm to me this behavior.

Greetings.

PS: I use combobox.prg original, and also I have tried with one that posted the Maestro Antonio Linares, recently.

Francisco J. Alegría P.

Chinandega, Nicaragua.



Fwxh-MySql-TMySql
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Combobox and scroll mouse
Posted: Thu Aug 01, 2013 06:57 AM
Francisco,

FranciscoA wrote:This is the correct behavior of the combobox, or ... Right?


Yes, it's the correct behavior. Please check other applications, even MS ones.

EMG
Posts: 2170
Joined: Fri Jul 18, 2008 01:24 AM
Re: Combobox and scroll mouse
Posted: Thu Aug 01, 2013 08:26 PM

Enrico, thanks for answering.
Indeed, he had already seen the behavior in MS programs like Excel / Word, but these do not change the combobox's Get value, only move their items, when you uses the mouse's scroll away from the combobox.

Francisco J. Alegría P.

Chinandega, Nicaragua.



Fwxh-MySql-TMySql
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Combobox and scroll mouse
Posted: Fri Aug 02, 2013 07:05 AM

Francisco,

If your combobox is using ON CHANGE then it will be evaluated everytime the selection changes.

As I commented you, use oComboBox:bCloseUp instead of ON CHANGE on those cases

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 2170
Joined: Fri Jul 18, 2008 01:24 AM
Re: Combobox and scroll mouse
Posted: Fri Aug 02, 2013 07:58 PM

Antonio,
Excuse me, I forgot actualize this post.
Best regards.

Francisco J. Alegría P.

Chinandega, Nicaragua.



Fwxh-MySql-TMySql

Continue the discussion