Page 1 of 1

Combobox and scroll mouse SOLVED

PostPosted: Thu Aug 01, 2013 1:30 am
by FranciscoA
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.

Re: Combobox and scroll mouse

PostPosted: Thu Aug 01, 2013 6:57 am
by Enrico Maria Giordano
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

Re: Combobox and scroll mouse

PostPosted: Thu Aug 01, 2013 8:26 pm
by FranciscoA
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.

Re: Combobox and scroll mouse

PostPosted: Fri Aug 02, 2013 7:05 am
by Antonio Linares
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

Re: Combobox and scroll mouse

PostPosted: Fri Aug 02, 2013 7:58 pm
by FranciscoA
Antonio,
Excuse me, I forgot actualize this post.
Best regards.