Print Page | Close Window

SOLVED: Markup Click Handler Bug

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=15954
Printed Date: 24 April 2024 at 3:19pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: Markup Click Handler Bug
Posted By: Krog
Subject: SOLVED: Markup Click Handler Bug
Date Posted: 05 January 2010 at 10:00am
Hello!

There is a bug in the handling of MouseLeftButtonDown (I have not tested the others, like right button) with the 'Hand' cursor. After the event is called the mouse cursor stays with the 'hand' by some time, and it does not change above the flatedit as usually, nor causes the mouseover effect over the pushbuttons.

The test project is here:

uploads/20100105_095502_MarkupClickBug.rar - 20100105_095502_MarkupClickBug.rar

When we use markup inside the ReportControl, the same behavior occurs.

Regards!


-------------
Product: Xtreme SuitePro (ActiveX) version 15.2.1
Platform: Windows XP SP2
Language: Visual Basic 6 SP6



Replies:
Posted By: Oleg
Date Posted: 06 January 2010 at 7:53am
Thanks, checking it.
 
btw maybe for hyperlinks type text better use MouseLeftButtonUp event instead.


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


Posted By: Krog
Date Posted: 06 January 2010 at 8:03am
Yeah. I tested now it with MouseLeftButtonUp and it works without the 'bug'.

Thanks

-------------
Product: Xtreme SuitePro (ActiveX) version 15.2.1
Platform: Windows XP SP2
Language: Visual Basic 6 SP6


Posted By: Oleg
Date Posted: 06 January 2010 at 8:28am

to fix just set Handled:

Public Sub ControlClicked(ByVal Sender As Object, ByVal Arg As Object)
  MsgBox "Clicked", vbInformation
  Arg.Handled = True
End Sub


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


Posted By: Krog
Date Posted: 06 January 2010 at 8:37am
Thank you, oleg!

-------------
Product: Xtreme SuitePro (ActiveX) version 15.2.1
Platform: Windows XP SP2
Language: Visual Basic 6 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