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

  • Thread starter Thread starter MadMikey
  • Start date Start date
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
 
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?
 
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.
 
Back
Top