hi, everybody,

Can I triger an event in the code? For example, can I
triger a keydown event of textbox?

thanks

Re: Triger an event in the code by hirf-spam-me-here

hirf-spam-me-here
Wed Nov 26 04:21:31 CST 2003

* "james ou" <anonymous@discussions.microsoft.com> scripsit:
> Can I triger an event in the code? For example, can I
> triger a keydown event of textbox?

Why do you need that?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Re: Triger an event in the code by Sankalp

Sankalp
Wed Nov 26 02:11:00 CST 2003

Hi James,

Handling the keydown event will, automatically call the event.

You could also just explicitly call the event, (not very elegant)
// TextBox1_KeyPress(null, null);

Regards,
Sankalp

"james ou" <anonymous@discussions.microsoft.com> wrote in message
news:001e01c3b3cd$3face970$a001280a@phx.gbl...
> hi, everybody,
>
> Can I triger an event in the code? For example, can I
> triger a keydown event of textbox?
>
> thanks