monthcalendar getfocus ?

S

Steven

Hello,

I have an application with multiple forms. One of the forms contains a
monthcalendar. Each 2 minutes, the monthcalendar is getting the focus. I
don't know why, it seems like this happens automatically.

This is pretty annoying, because if another form was opened, the whole
form with the monthcalendar appears on top of the opened form (which had
the focus).

Anyone in for a solution ?

Thanks,

Steven
 
C

Cor Ligthert

Steven,

The last for you show get the focus

However there should be some timer in your code that does something, I never
heard of a part that goes automaticly without code. (By instance a do events
part or something with a timer).

Cor
 
H

Herfried K. Wagner [MVP]

Steven said:
I have an application with multiple forms. One of the forms contains a
monthcalendar. Each 2 minutes, the monthcalendar is getting the focus. I
don't know why, it seems like this happens automatically.

This is pretty annoying, because if another form was opened, the whole
form with the monthcalendar appears on top of the opened form (which had
the focus).

Does this even occur in a "minimal" application? What version of
..NET/Windows are you using?
 

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