|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Problems with ToolStripTextBox reprisedI 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 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? -- Show quoteHide quoteTerry "Lloyd Sheen" wrote: > 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 > >
Show quote
Hide quote
"Terry" <TerryL@nospam.nospam> wrote in message Thanks,news:65B5A1AE-3DA9-4109-8F3E-6600B658FEC8@microsoft.com... > 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? > -- > Terry > > > "Lloyd Sheen" wrote: > >> 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 >> >> I am now using the double click. LS |
|||||||||||||||||||||||