Suppressing the FindWindow


https://www.nevron.com/Forum/Topic12594.aspx
Print Topic | Close Window

By NeilTurp - 6 Years Ago
Hi, I need to be able to suppress the FindWindow in a NRichTextView control on Monomac/Xamarin.  Anyone know how to do it?
Neil
By Nevron Support - 6 Years Ago
Hi Neil,
You can remove the command from the commander:

NCommandAction findCommandAction = nRichTextViewControl1.Widget.Commander.GetCommandAction(NRichTextView.FindCommand);
nRichTextViewControl1.Widget.Commander.Remove(findCommandAction);

Let us know if you meet any problems...
By NeilTurp - 6 Years Ago
Thanks Nevron.  Works a treat.
Neil