I want to capture the right-mouse up event for a textbox I have this:
It works, but only after I escape out of the drop-down menu that appears for the right-click event. I want to avoid that menu. What should I do?
Jon
C#:
private void txtSelect_MouseUp(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Right)
txtSelect.Clear();
}
Jon
Last edited by a moderator: