Problem with Textbox in a UserControl
Messages   Related Types
This message was discovered on microsoft.public.dotnet.languages.vb.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...

Mephisto (VIP)
I have a problem with a textbox I added to a VB 6.0 UserControl. With the
KeyPress Event I want to capture the "carriage return" (KeyAscii = 13). The
Problem is that this event never reaches my handler, like it does when a
numeric key got pressed for example. But it does if the textbox is located in
a Form instead of an UserControl.
Why is it not woking in Controls, and what can I do to solve this problem ??
Reply to this message...
 
    
Herfried K. Wagner [MVP] (VIP)
* "=?Utf-8?B?TWVwaGlzdG8=?=" <Click here to reveal e-mail address> scripsit:
> I have a problem with a textbox I added to a VB 6.0 UserControl.

Notice that this is a VB.NET group. For VB6-related questions, consider
posting to one of the microsoft.public.vb.* groups, for example,
microsoft.public.vb.controls.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Reply to this message...
 
    
Mephisto (VIP)
Thanks !! I will do so...

"Herfried K. Wagner [MVP]" wrote:

[Original message clipped]

Reply to this message...
 
 
System.Web.UI.UserControl
System.Windows.Forms.UserControl




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com