Profile Picture

NTaskDialog example doesn't support URL

Posted By Craig Swearingen 12 Years Ago
Author
Message
Craig Swearingen
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)Supreme Being (97 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 99, Visits: 654

I am considering using the NTaskDialog.  I started the "Nevron User Interface - Part of Nevron .Net Vision - Examples" program that comes with the toolkit and am looking at C# Examples>All Examples>Custom Forms>Task Dialog - Properties.  When pressing the "Show Dialog" button without changing any properties the NTaskDialog shows but the www.nevron.com URL in the footer is not highlighted as a URL and clicking on it does nothing though the code has the following:

item = m_TaskDialog.Footer;
item.HyperLinkClick += new NHyperLinkEventHandler(OnFooterHyperLinkClick);
Icon icon = SystemIcons.Information;
NSize imageSize = new NSize(icon.Width, icon.Height);
item.Image = NSystemImages.Information;
item.ImageSize = imageSize;

text = "For more information visit <a href='http://www.nevron.com/News.aspx?content=News'>www.nevron.com</a>";
item.Text = text;

private void OnFooterHyperLinkClick(object sender, NHyperLinkEventArgs e)
{
   Process.Start(e.Url);
}

Seems like a bug in the build I am on (11.12.14.12).  Is there a way to work around this?






Similar Topics


Reading This Topic