Event Handling / Trapping
From: Joe Kasta (J_at_microkroff.com)
Date: 04/13/04
- Next message: Herfried K. Wagner [MVP]: "Re: Event Handling / Trapping"
- Previous message: Palli: "Re: Get font and color from RichTextBox"
- Next in thread: Herfried K. Wagner [MVP]: "Re: Event Handling / Trapping"
- Reply: Herfried K. Wagner [MVP]: "Re: Event Handling / Trapping"
- Reply: WineNCheese: "Re: Event Handling / Trapping"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 13 Apr 2004 12:28:34 -0400
Question:
I have a Form.. And I have a textbox within the form. I want to call the
Form's OnKeyPress method when the textbox has items being entered.
OnKeyPress is the initial event I want.
Now, is there a way to "bubble up" the OnKeyPress event from the Textbox to
the Form it resides in? Or am I forced to expose an event handler in the
Form and actually have to add it to the OnKeyPress event in the Textbox? I'd
prefer not to do the latter..
- Next message: Herfried K. Wagner [MVP]: "Re: Event Handling / Trapping"
- Previous message: Palli: "Re: Get font and color from RichTextBox"
- Next in thread: Herfried K. Wagner [MVP]: "Re: Event Handling / Trapping"
- Reply: Herfried K. Wagner [MVP]: "Re: Event Handling / Trapping"
- Reply: WineNCheese: "Re: Event Handling / Trapping"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|