Print Page | Close Window

Markup Label in VB6

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: MarkupLabel Control
Forum Description: Topics Related to Codejock MarkupLabel Control
URL: http://forum.codejock.com/forum_posts.asp?TID=17578
Printed Date: 01 May 2024 at 4:25am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Markup Label in VB6
Posted By: bryanu
Subject: Markup Label in VB6
Date 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



Replies:
Posted By: Oleg
Date 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



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