>>Does anyone have a way of preventing multiple instances of a form without setting the Form WindowType property to 1-Modal?
>
>Use the code similar to:
>
>If type('oMyForm') # 'O' or isnull(oMyForm)
> oMyForm = creatobject('MyForm')
>endif
>
>
>Well anything like that should work.
>
>Tom
I am not calling the forms as classes. I am using DO FORM. Is their something I could put in the Init method?
Précédent
Suivant
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