Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Has an object been instantiated?
Message
De
16/04/1998 18:04:52
 
 
À
16/04/1998 14:47:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00092641
Message ID:
00092718
Vues:
27
Here's another way to write the same code (a little more clear, IMO):
FOR EACH loForm IN _SCREEN.Forms
   IF loForm.Name = "MAIN"
      WAIT WINDOW "Hey...there's a form with the name 'NAME' open"
      EXIT
   ENDIF
ENDFOR
Vlad

>FOR i = 1 TO _SCREEN.FormCount
>IF _SCREEN.Forms(i).Name="MAIN"
> WAIT WINDOW "Hey...there's a form with the name 'NAME' open"
> EXIT
>ENDIF
>ENDFOR
>
>Hope this or some permutation of this helps!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform