Problem with Textbox in a UserControl

G

Guest

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 ??
 
H

Herfried K. Wagner [MVP]

* "=?Utf-8?B?TWVwaGlzdG8=?= said:
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.
 
G

Guest

Thanks !! I will do so...

Herfried K. Wagner said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top