Combobox and scroll mouse SOLVED

Combobox and scroll mouse SOLVED

Postby FranciscoA » Thu Aug 01, 2013 1: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.
Last edited by FranciscoA on Fri Aug 02, 2013 8:10 pm, edited 1 time in total.
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh-MySql-TMySql
User avatar
FranciscoA
 
Posts: 2158
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: Combobox and scroll mouse

Postby Enrico Maria Giordano » Thu Aug 01, 2013 6: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
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Combobox and scroll mouse

Postby FranciscoA » Thu Aug 01, 2013 8: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
User avatar
FranciscoA
 
Posts: 2158
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: Combobox and scroll mouse

Postby Antonio Linares » Fri Aug 02, 2013 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Combobox and scroll mouse

Postby FranciscoA » Fri Aug 02, 2013 7:58 pm

Antonio,
Excuse me, I forgot actualize this post.
Best regards.
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh-MySql-TMySql
User avatar
FranciscoA
 
Posts: 2158
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 71 guests