Problems with ToolStripTextBox reprised

L

Lloyd Sheen

I am just trying to get the event when a user clicks into the
ToolStripTextBox to allow me to select all the text. I got an answer to
handle the click event as an enter. Well if I do that then I cannot use the
mouse to select portions of the text.

Is there a answer as to whether the events for ToolStripTextBox such as
Enter actually are fired. I cannot see them getting fired. If so is there
a workaround that does not destroy mouse events in the ToolStripTextBox such
as selecting text with the mouse.

thanks
Lloyd Sheen
 
G

Guest

Hi again,
As I mentioned the other day, the enter event is being fired, you can
prove that to yourself by changing the background color in the event. You
said the other day that you wanted all the text selected when they entered it
by clicking. As, I said the other day, the mouse event was unselecting the
text you selected in the enter event. I don't think you can have it both
ways. Why not just let them double click when they want to select all the
text?
 
L

Lloyd Sheen

Terry said:
Hi again,
As I mentioned the other day, the enter event is being fired, you can
prove that to yourself by changing the background color in the event. You
said the other day that you wanted all the text selected when they entered
it
by clicking. As, I said the other day, the mouse event was unselecting the
text you selected in the enter event. I don't think you can have it both
ways. Why not just let them double click when they want to select all the
text?

Thanks,

I am now using the double click.

LS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top