Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > MarkupLabel Control
  New Posts New Posts RSS Feed - Markup Label in VB6
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Markup Label in VB6

 Post Reply Post Reply
Author
Message
bryanu View Drop Down
Groupie
Groupie
Avatar

Joined: 19 February 2007
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote bryanu Quote  Post ReplyReply Direct Link To This Post Topic: Markup Label in VB6
    Posted: 19 November 2010 at 4:26pm
Is there anyway to capture an event in VB6 when an image or hyperlink is clicked within a Markuplabel?

I have a label that had 2 images and 2 hyperlinks, would like to be able to know which image or hyperlink is clicked.

Thanks for any insight or suggestions.

Regards,


Suite Pro v16.3.1

Visual Basic 6.0 ENT sp6

Windows 8.1
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: 22 November 2010 at 4:30am
Hi,

Check how MarkupLabel2 works in our MarkupSample:

Public Sub HyperClick(ByVal Sender As MarkupObject, ByVal Args As MarkupRoutedEventArgs)
    MsgBox "Click"
End Sub

...
<TextBlock>Text with <Hyperlink Click="HyperClick">Hyperlink</Hyperlink></TextBlock>

...
    MarkupLabel2.MarkupContext.SetHandler Me

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.145 seconds.