Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / February 2005

Tip: Looking for answers? Try searching our database.

Panel KeyUp event

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Peder Y - 26 Feb 2005 12:43 GMT
1) How can I make a Panel fire Key events?

Neither overriding the OnKeyUp event nor somePanel.KeyUp += new
KeyEventHandler(somePanel_KeyUp) seems to work.

2) What would be the procedure for doing this on a Control derived control?

Thanks!

- Peder -
Sean Hederman - 26 Feb 2005 21:45 GMT
The OnKeyUp method fires the event. You have to call it, not override it.
However it's protected so you can only do this if you inherit from the
control.

> 1) How can I make a Panel fire Key events?
>
[quoted text clipped - 7 lines]
>
> - Peder -
Matt Garven - 28 Feb 2005 00:42 GMT
Hi Peder,

Are you asking why the Panel doesn't fire the KeyUp event, or do you want to
raise the KeyUp event programmatically?

Regards,
Matt Garven

> 1) How can I make a Panel fire Key events?
>
[quoted text clipped - 6 lines]
>
> - Peder -

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.