We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

underlines and tooltips

Thread ID:

Created:

Updated:

Platform:

Replies:

59781 Apr 22,2007 02:14 AM UTC Apr 29,2007 06:26 PM UTC WinForms 2
loading
Tags: EditControl
xx
Asked On April 22, 2007 02:14 AM UTC

I'm using underlines to highlight syntax errors dynamically. Is there and way to directly associate a tooltip with underlined text?

I've tried saving away the points where the error is found (the points used to make the underline) and then use that information in the UpdateContextToolTip event handler. This almost works but the problem is that if the user collapses or expands a region after the error was detected, the tooltip won't follow the underlined text (which was moved due to the collapse/expand).

Any thoughts on how to do this better?

-travis

Administrator [Syncfusion]
Replied On April 25, 2007 01:46 AM UTC

Hi Travis,

It is possible to display the tooltip after a region is collapsed or expanded using the ConvertVirtualPositionToPhysical and PointToPhysicalPosition methods. I have
attached a sample that illustrates this. Let me know if this meets your requirements.

Thanks for your patience.

Regards,
Ebenezer.P

rel='nofollow' href="http://websamples.syncfusion.com/samples/Edit/59781/main.htm">http://websamples.syncfusion.com/samples/Edit/59781/main.htm

x
Replied On April 29, 2007 06:26 PM UTC

thanks! that did the trick.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;