Menus

  • Thread starter Thread starter Eregnon
  • Start date Start date
The following will show a context menu, but there isn't a "standard find dialog" anywhere in the .NET framework.
Visual Basic:
ContextMenu.Show(MyButton1, New Point(100, 100))
 
What about the find dialog box you get when you choose find from the edit menu? I'm trying to set that up in a context menu for a rich text box, along with some other options of my own devising.
 
From what "edit menu"? The RichTextBox class has a Find method, but it only searches for the text. It doesn't ask the user what they want to search for. You have to create the find dialog yourself with a form class.
 
Edit->Find and Replace->Find. I thought there was a way to add that menu item to a form and bring up that dialog box. It seems not to be the case.
 
Back
Top