Print Page | Close Window

Markup Image Click

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Active-X COM Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=14969
Printed Date: 21 November 2024 at 1:26pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Markup Image Click
Posted By: jpbro
Subject: Markup Image Click
Date Posted: 14 August 2009 at 12:08am
It seems that the <Image> markup tag has no Click event - is this true (or have I just been awake too long), and if so, is there a way to tell when an image has been clicked?

Thanks.


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

Language: Visual Basic 6.0 SP6




Replies:
Posted By: jpbro
Date Posted: 14 August 2009 at 2:36pm
You can simulate this using MouseLeftButtonDown and MouseLeftButtonUp events (store a reference to the object in MouseLeftButtonDown, and if it is the same as in MouseLeftButtonUp, then consider the Image as having been clicked). It's a pain (yet another module level variable to have hanging around), so it would be great if the Click event could be added to the Image tag in CJ Markup.

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