PC Review


Reply
Thread Tools Rate Thread

Create UserControl ??

 
 
Fia
Guest
Posts: n/a
 
      6th Apr 2005
Hi
I have tried to create my own combobox, with properties and methods. But
when I use it in a Form and try to use the KeyPress Event for the control in
the Form, nothing happens. Do I have to do anything to make the KeyPress
Event work for the control, I thought it inherited the event.

Fia


 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      6th Apr 2005
"Fia" <(E-Mail Removed)> schrieb:
> I have tried to create my own combobox, with properties and methods. But
> when I use it in a Form and try to use the KeyPress Event for the control
> in
> the Form, nothing happens. Do I have to do anything to make the KeyPress
> Event work for the control, I thought it inherited the event.


Please avoid multiposts (posting the same message to more than one group
separately). Instead, either choose the group which is most appropriate or
make an X-post to groups which are related to the topic. (The other
"instance" of the OP's post has been posted to
microsoft.public.dotnet.languages.vb.controls.)

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

 
Reply With Quote
 
Chris Murphy via DotNetMonster.com
Guest
Posts: n/a
 
      7th Apr 2005
Even though you've inheirited the event in your control, you still have to
handle the event.

--
Message posted via http://www.dotnetmonster.com
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a usercontrol instances to another usercontrol in code behi =?Utf-8?B?UGFkYW0=?= Microsoft C# .NET 1 9th Apr 2007 11:52 AM
Create a usercontrol instances to another usercontrol in code behi =?Utf-8?B?UGFkYW0=?= Microsoft C# .NET 0 9th Apr 2007 05:46 AM
create usercontrol that cannot get focus Microsoft VB .NET 1 11th Aug 2006 12:27 PM
Create a property in usercontrol ? Agnes Microsoft VB .NET 6 13th Jul 2004 09:31 AM
create usercontrol as form =?Utf-8?B?aWdvcg==?= Microsoft Dot NET Framework Forms 0 7th Apr 2004 12:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:35 AM.