How to turn off QuickInfo for collapsed text

SyntaxEditor for Windows Forms Forum

Posted 13 years ago by Michael Dempsey - Sr. Developer, Teradata Corp
Version: 12.1.0303
Avatar

We provide an option for the user to decide whether they want to see QuickInfo tips.

In OnSyntaxEditorViewMouseHover() I simply exit if the option is False.

This works fine for my own QuickInfo tips but the automatic tips that are displayed when hovering over collapsed text still display.

I tried NOT calling the base function and setting e.Cancel = True but it still displays the tips.

Is there a property I can set to switch off that functionality?

Thanks

Comments (3)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Mike,

I don't believe there is an option but you can handle ViewMouseHover and set e.ToolTipText = null to prevent it.


Actipro Software Support

Posted 13 years ago by Michael Dempsey - Sr. Developer, Teradata Corp
Avatar

Thanks.

I had assumed that since setting e.Cancel didn't prevent the tooltip you must not be not calling this function.

Why doesn't setting e.Cancel work to cancel the event?

Answer - Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Good point, we'll make e.Cancel = true also prevent it for the next maintenance release.


Actipro Software Support

The latest build of this product (v25.1.0) was released 22 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.