Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50- Need a faster way to open FORMS and code.
Message
From
07/04/1997 09:35:54
 
 
To
07/04/1997 04:52:20
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00025238
Message ID:
00027255
Views:
41
>>I am calling FORMS off the MENU. When I call a FORM, I want to check
>>if the FORM has been called, and if so, only SHOW it.
>>Could I get a little code from you?
>>
>>My FORM is called [customer] and in the CLICK EVENT off some button, I
>>do form customer
>>
>>thanks.. rob
>
>I guess you are just hiding the form instead of closing it then?
>
>If a form is run by DO FORM and you have a call to RELEASE() then the form is gone, and you can't use SHOW().
>
>
>Otherwise you can look through _SCREEN.FORMS[] and see if any of them are the form you want.
>Then show that one form instead of creating a second copy.

Hi Paul.. I can not find anything in the VFP50 HELP for _SCREEN.FORMS[].
Could you give me an example of how I would use _SCREEN.FORMS[]?

Also.. I want to see if the FORM exist, and if so, just show it. I do not
want my user to fire off more than one copy of the same FORM.
Can you share some code on this?

thanks.. rob
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform