Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>If you do Activate Window OtherWindow and set _SCREEN.ActiveForm.Release(). The focus will change to the other window.
>>You can do also :
>> oMyForm= CREATEOBJECT('MyForm')
>> oMyForm.Show()
>> oMyForm.Release()
>
>Alternatively, you can pass the form name to the second form as a parameter, store it to a form property and use it for any purpose:
>
>do My2ndForm with thisform
>** calls the second form, passes the present form name.
>** In the INIT of the second form
>Parameters oform
>thisform.ocallingform = oform
>** Stores the form name in a form property
>** be sure you've added this form property
>
>** Later in form
>thisform.ocallingform.release()
>** Will release the first form
>
>I use this method frequently for storing information in the calling form - if I've done a find, a memoedit, etc.
>
>HTH
>Barbara
Hi Barbara,
Yes, I did use your last tip and it indeed works great. This is a really good alternative.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement