there is a click event not onclick, also you could use
the GotFocus event
a c# example to hookup an event handler:
this.txtMyText.GotFocus += new System.EventHandler
(this.txtMyText_GotFocus);
this.txtMyText.Click+= new System.EventHandler
(this.txtMyText_Click);
private void txtMyText_Click(object sender,
System.EventArgs e)
{
//do something
}
private void txtMyText_GotFocus(object sender,
System.EventArgs e)
{
//do something
}
>-----Original Message-----
>Hi,
>In the .Net compact framework, text boxes do not have a
>on_click method enabled.
>I was wondering what methods people are using to
>replicate on click.
>I have a text box which i want to respond everytime on
>tap on it.
>
>.
>
|