P
Paulo Costa
Hi,
On a application for PocketPC2003 I need to use the event Click of a
TextBox.
Apparently Windows Forms Designer doesn't have the Click Event on the list
of events available on the Windows Forms Designer but you can generate it
from within the Code Editor (see below):
[constructor]...
{
....
textBoxTexto.Click +=new EventHandler(textBoxTexto_Click);
....
}
private void textBoxTexto_Click(object sender, EventArgs e)
{
index = textBoxTexto.SelectionStart;
}
But when I click with the device pointer in the textbox the Click event
isn't raised.
Can someone help me?
Thanks in advance
Paulo Costa
On a application for PocketPC2003 I need to use the event Click of a
TextBox.
Apparently Windows Forms Designer doesn't have the Click Event on the list
of events available on the Windows Forms Designer but you can generate it
from within the Code Editor (see below):
[constructor]...
{
....
textBoxTexto.Click +=new EventHandler(textBoxTexto_Click);
....
}
private void textBoxTexto_Click(object sender, EventArgs e)
{
index = textBoxTexto.SelectionStart;
}
But when I click with the device pointer in the textbox the Click event
isn't raised.
Can someone help me?
Thanks in advance
Paulo Costa