MemberList won't hide

SyntaxEditor for Windows Forms Forum

Posted 14 years ago by Devin Grant - Novi
Avatar
If I display the memberlist and than click on another application (i.e. IE6), the memberlist will be displayed over the current application. I have click back to my main form to hide it.

[Modified at 05/28/2005 06:29 PM]

Comments (7)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Do you have the IntelliPromptMemberList.HideOnParentFormDeactivate property set to true? It should be that by default.


Actipro Software Support

Posted 14 years ago by Devin Grant - Novi
Avatar
Yes, the problem happens when the SyntaxEditor control is used on a MDI form.

Steps:
1) Create a new project
2) Create two new window forms
3) Make the MainForm a MDI by setting the IsMdiContainer=true and the second form as a child of the MDI
4) Add a SyntaxEdior control to the child form (add the necessary code to display a memberlist)
5) Run the project (make sure the child form is displayed)
6) Display the memberlist and than click outside of the main form (MDI)

Notice: that the memberlist is still displayed
Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Ahh... that explains it. In that case the Form we are looking at is your MDI child, not the parent. So the deactivate never occurs. We'll mark this down as a bug.


Actipro Software Support

Posted 14 years ago by Devin Grant - Novi
Avatar
Is it possible to check to see it the SyntaxEditor has focus to determine it is should hide the memberlist?

[Modified at 06/01/2005 12:12 PM]
Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Devin,

Actually I've got the fix in place for the next maintenance release already.


Actipro Software Support

Posted 14 years ago by Devin Grant - Novi
Avatar
I am still able to repro the problem in v3.0.0178.

The syntax editor is added to a child form, and that form is added to tab control on the main form (not an MDI form).
Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
The problem here is that FindForm is returning your form that you are using as a control-like child of another form. It should work if you have it on a regular form or MDI child form. We'll have to make another tweak to handle this case as well.

[Modified at 06/08/2005 02:24 PM]


Actipro Software Support

The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.