Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to mimic Read Events?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00152384
Message ID:
00152393
Vues:
26
>I asked a question yesterday about having nested Read Events to which I found out you can't do and it was suggested that I use a modal form. This really doesn't solve my problem.
>
>Basically whats happening is a class' method (preparedata) is called from within the class' init. In the preparedata method I check to see if whether or not I need to make the form visible to accept some selection criteria. What I want to happen is if I determine I need to accept selection criteria I would like for the code execution to stop at this point and then allow the customer to fill in textboxes etc and then click a button that will then allow the program execution to continue from where it stopped within the preparedata method.
>
>Is there a way to handle this scenario?
>
>Thanks

You can still do it in Init event, and not necessarily to bring up 'Search' modal form. It can be modeless, but first form itself should return .F. When 'Search' form will finsih its work, the first form can be brought up again automatically.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform