How to close the MemberList when another application gets fo

SyntaxEditor for Windows Forms Forum

Posted 20 years ago by Radventure B.V
Avatar
I have tried to use the events Leave and LostFocus.

The on Leave event doesn't occur when switching to another applicatio when using Alt+Tab or clicking on the winodws application bar.

When I use the LostFocus event to close the memberlist it does close when I switch to another application, but I loose the ability to use the mouse on the memberlist (because it also triggers the LostFocus event).

How should I close the MemberList when another application gets focus?

Erik Pepping

Comments (2)

Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Maybe handle the deactivate event of your Form and do it there.


Actipro Software Support

Posted 20 years ago by Radventure B.V
Avatar
The Syntax editor control is inside a usercontrol and for some reason the event LostFocus does not occur. If I take out the Syntax editor control it does fire the LostFocus event.
But I'll try your suggestion and try to perform the abort on the owner of the usercontrol.
Thanks for the suggestion.

Erik Pepping
The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.