Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do form with
Message
De
13/03/1998 13:22:36
 
 
À
13/03/1998 09:58:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00084441
Message ID:
00084524
Vues:
26
>I have a form in which is called in a loop,
>
>For i=1 to nRetVal
> do form form_name with array[i]
>endfor
>
>The problem is that I want the form to be released before the next execution of the loop is processed.

Several others have noted that making the form modal will get the effect you want - I won't drive that point into the ground further.

what I do wonder is what your intent is in that loop methodology. What are you trying to that requires that you do this loop? In particular, is there anything that prevents you from saying:
loForm = CreateObject("form_name", @array)
loForm.Show()
and having the code in the form methods cover all the work for you.

Incidentally, needing the ability to send a single entity (as opposed to a set of variables) into the form counts as a legitimate answer.
David M. Stowell
Ravenslake Consulting
Chicago, Illinois

e-mail: davidstowell@ravenslakeconsulting.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform