Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to detect if a form is running
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01093782
Message ID:
01093783
Vues:
20
>Hi
>I have code as follows:
>Do Form MyForm Name oMyForm WITH 'O' NOSHOW
>OMyform.MyCommand.Click
>
>However, The Init of the form can have a Return .f., dpending on circumstances
>If this is the case, the omYForm.MyCommand.Click throws up an error.
>
>Is there a way of establishing if Myform is still open ?
>
>Regards,
>
>Gerard
Do Form MyForm Name oMyForm WITH 'O' NOSHOW
IF TYPE("oMyForm") == [O] AND NOT ISNULL(oMyForm)
   oMyform.MyCommand.Click
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform