How do you code events for controls that appear only at runtime?

M

MadMikey

I've got some controls that are not available at design-time. How do I code
events, such as Keypress, for these controls?

Thanks in advance.

Mikey
 
A

Armin Zingler

MadMikey said:
I've got some controls that are not available at design-time. How do
I code events, such as Keypress, for these controls?

Which controls for example? Why are they not available at design-time?
 
M

MadMikey

That's exactly what I was looking for, thanks!!!!!!

Why? I have a control, that is not place on a form at design time, rather
several instances are created at the user's request at run-time.

Since it's not on a form, nor do I know how many the user will want, i can't
really code a objControl_KeyPress() event at design time. Handlers are what
I need.
 

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