Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Showing a modal form and releasing the one that called i
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00019766
Message ID:
00019976
Vues:
51
>>I would like to show a modal form, but have the form
>>that calls it be completely released. I realize that I've got to get to a wait state (and READ EVENTS).
>>What is happening is that the modal form displays and
>>the calling form is not completely released because
>>the top form is modal. I think that I can trick it by
>>creating some sort of invisible wait state either by
>>a form or menu that is completely hidden from the user.
>>Has anyone ever done something like this that might be
>>able to offer some insight.
>>
>>Thanks,
>>Steve Despres
>>sdespres@erols.com
>
>try hiding the calling form and then releasing both when the called form is released.

Try this!

You can add a custom timer with a small interval to the _screen object.

In the timer.timer() event,call your modal form ( dont forget to disabled the timer just after the call!!! )

Enabled it in the calling form and release the calling form.

It sound tricky but ... work.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform