Print Page | Close Window

ComboBox MouseWheel Problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=12215
Printed Date: 22 November 2024 at 2:35am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ComboBox MouseWheel Problem
Posted By: McKloony
Subject: ComboBox MouseWheel Problem
Date 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.
 
https://forum.codejock.com/uploads/20080919_093936__MouseWheel.rar - uploads/20080919_093936__MouseWheel.rar


-------------
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6



Replies:
Posted By: Oleg
Date Posted: 22 September 2008 at 5:55am
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


Posted By: McKloony
Date Posted: 22 September 2008 at 6:42am

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


Posted By: Aaron
Date Posted: 22 September 2008 at 2:05pm
Originally posted by oleg oleg wrote:

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 ?
 
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....


Posted By: McKloony
Date Posted: 23 September 2008 at 1:37am
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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net