Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - SOLVED: Markup Click Handler Bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: Markup Click Handler Bug

 Post Reply Post Reply
Author
Message
Krog View Drop Down
Groupie
Groupie


Joined: 06 February 2008
Status: Offline
Points: 100
Post Options Post Options   Thanks (0) Thanks(0)   Quote Krog Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: Markup Click Handler Bug
    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:

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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Krog View Drop Down
Groupie
Groupie


Joined: 06 February 2008
Status: Offline
Points: 100
Post Options Post Options   Thanks (0) Thanks(0)   Quote Krog Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Krog View Drop Down
Groupie
Groupie


Joined: 06 February 2008
Status: Offline
Points: 100
Post Options Post Options   Thanks (0) Thanks(0)   Quote Krog Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.