Posted 20 years ago
by Boyd
-
Sr. Software Developer,
Patterson Consulting, LLC
I have an MDI application with SyntaxEditor in the MDI child. When the user switches from one SyntaxEditor child window to the next, I want to close any existing IntelliPrompt items that might be visible in the editor that looses focus. To do this, I did an override of the 'OnLostFocus' event for the form containing Syntax Editor and added the following code:
For some reason, the InfoTip is not closing with the Hide method call above. I've even stepped through the 'OnLostFocus' event to make sure the code was executing. Interestingly enough, the 'Visible' property for InfoTip was also returning a 'False' at that point in the code even though it was displayed.
Let me know if there's anything I can do or more information I can provide.
editor.IntelliPrompt.InfoTip.Hide();
editor.IntelliPrompt.QuickInfo.Hide();
editor.IntelliPrompt.MemberList.Abort();
Let me know if there's anything I can do or more information I can provide.