Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Task Panel
  New Posts New Posts RSS Feed - [SOLVED] Read Item Tag with MouseMove event
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] Read Item Tag with MouseMove event

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


Joined: 06 April 2010
Location: United States
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote mstuart Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] Read Item Tag with MouseMove event
    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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
mstuart View Drop Down
Groupie
Groupie


Joined: 06 April 2010
Location: United States
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote mstuart Quote  Post ReplyReply Direct Link To This Post 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
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.203 seconds.