Home All Groups Group Topic Archive Search About

Trigger an Event within an Event Handler

Author
8 Nov 2006 3:09 PM
frank.elk
Hello

I would like to trigger an event from within my code. I have a MouseUp
event handler and I need to call a paint event handler from within the
former, to update the form of my application. Is that possible?

Thanks in advance,
Frankkie

Author
8 Nov 2006 3:47 PM
Spam Catcher
frank.***@gmail.com wrote in news:1162998549.640055.112500
@h48g2000cwc.googlegroups.com:

> I would like to trigger an event from within my code. I have a MouseUp
> event handler and I need to call a paint event handler from within the
> former, to update the form of my application. Is that possible?

You can call a Form.Refresh to repaint the form.
Author
9 Nov 2006 9:09 AM
frank.elk
thanks for the solution!


Spam Catcher schreef:

Show quoteHide quote
> frank.***@gmail.com wrote in news:1162998549.640055.112500
> @h48g2000cwc.googlegroups.com:
>
> > I would like to trigger an event from within my code. I have a MouseUp
> > event handler and I need to call a paint event handler from within the
> > former, to update the form of my application. Is that possible?
>
> You can call a Form.Refresh to repaint the form.