Form.ActiveControl method does not work for control created at run-time ???

  • Thread starter Thread starter James Ramaley
  • Start date Start date
J

James Ramaley

I am creating a ListView control at run-time and show it on my form.
The control appears on the screen and responds to keyboard input.
However, the form's ActiveControl method returns a reference to itself
when it should return a reference to my ListView control, wheareas in
other cases it works correctly. Any ideas why this happens and how I
can correct it?

thanks
 
James,

I think you should provide some code with it, I think it is not only for me
very cryptic what you are writing.?

Cor
 

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

Back
Top