Print Page | Close Window

[SOLVED] Read Item Tag with MouseMove event

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Task Panel
Forum Description: Topics Related to Codejock Task Panel
URL: http://forum.codejock.com/forum_posts.asp?TID=19702
Printed Date: 25 April 2024 at 8:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] Read Item Tag with MouseMove event
Posted By: mstuart
Subject: [SOLVED] Read Item Tag with MouseMove event
Date Posted: 30 April 2012 at 4:41pm
Hi all,
I would like to read the Item Tag property, while the user moves the mouse over an item.
Is this possible? 
If so, how would that be coded in VB6?




-------------
Regards,
Mark Stuart

Product: Xtreme SuitePro (ActiveX) v13.2.1
Platform: WinXP (32bit)/Win7 (64bit)
Language: VB6 (SP6), Magic eDeveloper v9.4, uniPaaS v1.9



Replies:
Posted By: SuperMario
Date Posted: 03 May 2012 at 2:01pm
Something like this should work:

Private Sub wndToolBox_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)
    If Not wndToolBox.HotItem Is Nothing Then
        Debug.Print wndToolBox.HotItem.Tag
    End If
End Sub


Posted By: mstuart
Date Posted: 03 May 2012 at 2:46pm
SuperMario - that works. Smile
Thank you sir.
-Mark


-------------
Regards,
Mark Stuart

Product: Xtreme SuitePro (ActiveX) v13.2.1
Platform: WinXP (32bit)/Win7 (64bit)
Language: VB6 (SP6), Magic eDeveloper v9.4, uniPaaS v1.9



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