Print Page | Close Window

Link state not mantained after change to XAML

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=22734
Printed Date: 28 March 2024 at 6:25pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Link state not mantained after change to XAML
Posted By: franji1
Subject: Link state not mantained after change to XAML
Date Posted: 25 September 2015 at 2:14pm
We are utilizing Markup statics to report status. It is possible the text can change every few seconds. Most of them are or contain Hyperlinks.

When the mouse cursor is sitting on top of a Hyperlink, whose text gets changed asynchronously (but its still a Hyperlink), it loses the fact that it is a hyperlink (much of the hyperlink state information is handled when the mouse move occurs, especially into/out of the rect).

But since the mouse hasn't move, the color is not correctly reporting that you are hovering over a hyperlink, and more critical when you click, nothing happens.

We have tried emulating the Mouse Move event when we update the text so that the Hyperlink state can be set, but sometimes it doesn't behave quite right.

Is there a way to update the XAML text and to get the control to fully re-calculate its Hyperlink state via a method (vs. trying to emulate WM_MOUSEMOVE and et. al.)?



Replies:
Posted By: franji1
Date Posted: 25 September 2015 at 5:09pm
We are using 13.2.1.5



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