How to turn off QuickInfo for collapsed text

SyntaxEditor for Windows Forms Forum

Posted 8 years ago by Mike 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 8 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 8 years ago by Mike 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 8 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 (v2020.1 build 0402) was released 26 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.