Alt Selection using mouse

SyntaxEditor for Windows Forms Forum

Posted 4 years ago by Michael Andrews - Software Engineer, Breault Research
Version: 14.1.0322
Avatar

I'm trying to prevent my software from changing focus to the menu bar upon release of the Alt key after a block selection using the SyntaxEditor. The demo SDI editor seems to not have this problem... Anyone have any ideas?

Comments (1)

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

Hi Michael,

What sort of menu control are you using here?  Is it a third-party one?  Perhaps you could track SyntaxEditor's KeyUp event and if the mouse's left button is down while Alt is being released, set e.Handled = true?  Perhaps that would help prevent the menu control from getting it.


Actipro Software Support

The latest build of this product (v2020.1 build 0400) was released 24 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.