I'm not sure, but look at AutoYield and DoEvents in the Help.
Vlad
>I have found an unusual behaviour in the Calendar ActiveX class I uploaded to the files section several weeks ago.
>
>I dropped this control on a form, and for the most part works 99.9% as expected. Also on this form is a control that launches a modal form. If the calendar part of the control is visible and I click on the object that launches the modal form, the click event of the object fires before the lostfocus of the calendar control. This causes the modal form to instanciate but then the lostfocus caused focus to revert to the parent form and the parent form is now modal. I can not
>get to the *real* modal form to close it. I am now in a *modal form deadlock*. How quaint!
>
>To make this harder to figure out, I created 2 simpler forms this morning to try to simulate this. The second form flashes, releases, the calendar control disappears as usual. I have a read events, am not losing focus of a form name (not using linked). But I do not get into a deadlock situation. If the calendar is in its normal state, the second form instanciates and functions as expected.
>
>Comments?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement