Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Has an object been instantiated?
Message
From
16/04/1998 18:04:52
 
 
To
16/04/1998 14:47:47
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00092641
Message ID:
00092718
Views:
26
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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform