Print Page | Close Window

BUGS: MarkupLabel IsMouseOver and Click Problems

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=13823
Printed Date: 22 November 2024 at 10:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: BUGS: MarkupLabel IsMouseOver and Click Problems
Posted By: jpbro
Subject: BUGS: MarkupLabel IsMouseOver and Click Problems
Date Posted: 26 March 2009 at 9:10pm
I'm creating a control that allows the user to select a date using the mouse scroll wheel or by clicking. It looks like this:


By moving the mouse over the month, day or year columns and then scrolling the mouse wheel, that column will scroll the appropriate values in the column under the mouse. This is where bug number 1 occurs:

Bug #1) When using the IsMouseOver property of the MarkupGrid object, sometimes it returns TRUE even when the mouse is not over the object.

Unfortunately, I haven't yet determine when or why this is happening. To test, see my sample project and play around with the mouse wheel while moving around the MarkupLabel...eventually it should start scrolling 2 columns at the same time, even though the mouse is only over 1 column.

Next, the user can click one of the months, days or years in any row (except for the middle row) and the control will get updated to that month, day or year. This is where Bug #2 occurs:

Bug #2) When clicking a TextBlock that is a child of another object that shares the same mouse event, the event wont be raised again until you move the mouse. To test this, carefully click one of the month rows (not the middle one) WITHOUT MOVING THE MOUSE, and then click again. The first time, the month will change as expected, but the second time, the cursor will revert to an arrow and no events will be fired.

Here's the project for testing:

uploads/20090326_211006_XamlDateSliders.zip - uploads/20090326_211006_XamlDateSliders.zip



-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6




Replies:
Posted By: jpbro
Date Posted: 26 March 2009 at 9:11pm
Just to clarify something for Bug #2 - To see the problem, make sure you click on the actual text, not on the blank space beside the text.

-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6



Posted By: Oleg
Date Posted: 27 March 2009 at 2:41am
Hi,
 
Thanks, you do great work. Will attach changed ocx in your issue. Sorry didn't have time to answer it yet.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: jpbro
Date Posted: 27 March 2009 at 10:45am
Thanks for the update and compliment :).

Bug #2 is fixed, but there are still problems with Bug #1. Please see my notes in support issue.


-------------
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

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