ComboBox MouseWheel Problem |
Post Reply |
Author | |
McKloony
Senior Member Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |
Post Options
Thanks(0)
Posted: 19 September 2008 at 9:39am |
I attached a small sample that demonstrates the problem using the MouseWhell together with the ComboBox. When I use the click event of the ComboBox to add some data of example, this click event fires also, if I use the MouseWheel. The original VB ComoBox doesn’t has this problem.
|
|
Product: Xtreme SuitePro (ActiveX) 16.2.5
Platform: XP / Windows 7 Language: Visual Basic 6.0 SP6 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Don't you think VB's combo work wrong ?
if your user select VB combo and press "Down"/"Up" there will be Click event, but why not for MouseWheel ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
McKloony
Senior Member Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |
Post Options
Thanks(0)
|
Hello Oleg, thanks for your comment. The XTreemSuite Combobox is 100% compatible to the VB ComboBox. You can see in my sample, that I subclass the VB ComboBox because the VB ComboBox still originates from the times, when there were still no Mouse wheel! And so the click event always fires, when a user uses the Mouse wheel. I have only the request that their it makes possible also somehow to prevent this behavior.
|
|
Product: Xtreme SuitePro (ActiveX) 16.2.5
Platform: XP / Windows 7 Language: Visual Basic 6.0 SP6 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
I agree with you Oleg
I never looked at it this way. But CJ Combobox at least works the same way all the time. Use mousewheel with VB Combobox and click event won't be fired anymore when using up/down key (expanded list) If you select an item again and using up/down key it will fire click event (with expanded list).
At least CJ combo behaviour is more consequent as MS combo
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
McKloony
Senior Member Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |
Post Options
Thanks(0)
|
You are right, but then I need a MouseDown or MouseUp event !
|
|
Product: Xtreme SuitePro (ActiveX) 16.2.5
Platform: XP / Windows 7 Language: Visual Basic 6.0 SP6 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |