NContextMenu problem with NRichTextBox


Author
Message
Brian J Warren
Brian J Warren
Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)
Group: Forum Members
Posts: 26, Visits: 28

Hello Nevron,

I have a small problem using an NContextMenu with an NRichTextBox.  The attachment named CorrectMenu.jpg shows the correct NContextMenu displayed when clicking the NRichTextBox underneath.  This is implemented by displaying the NContextMenu on the MouseDown event of the NRichTextBox (checked for a right-click).  This only works properly when the NRichTextBox does not have focus.

The problem happens when the NRichTextBox does have focus (and displays the flashing cursor).  When the user does a right-click, the proper menu comes up, but then immeadiatly after the NRichTextBox default menu comes up and covers it (see attachment named DefaultMenu.jpg). 

Can you tell me the correct way to make this work?

Thank you, Brian Warren


Attachments
CorrectMenu.jpg (272 views, 14.00 KB)
DefaultMenu.jpg (277 views, 13.00 KB)
Reply
Brian J Warren
Brian J Warren
Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)Junior Member (15 reputation)
Group: Forum Members
Posts: 26, Visits: 28

Thank you to the Support Team,

That worked fine.  Thank you for the help.

Best regards, Brian Warren


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search