Information générale
Catégorie:
Codage, syntaxe et commandes
The settings were:
- Form A is modal
- A button on form A call form B which is also modal
- When form B is closed, the clikc method of the button then call form C which is modeless
This is a small application and I didn't want to use a READ EVENTS/CLEAR EVENTS combination, so I made my main form modal (remember that all programmers are lazy by nature! ;) )
I modified form A from modal to modeless and use a READ EVENTS/CLEAR EVENTS combination and now everything work fine.
We got my problem solved, but I still don't understand why, in the original configuration, it would run properly when stepping through the application with the debugger and not outside of it.
Thanks for your help
>I created 3 forms, A, B, C. A is modal, B is modal, C is modeless. I put 2 buttons on A to launch the other 2 forms with a simple DO FORM FORMB and DO FORM FORMC
>
>All the forms launch just fine. FormC is effectively modal though because it's launched from a modal form. You can't launch C, then try and click back to A to also launch the B form.
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