Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Release Form and combobox inside grid
Message
De
29/08/1997 08:57:32
Sonny Chouinard
CHCA Computer Systems Inc.
Lachenaie, Québec, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00047386
Message ID:
00047538
Vues:
26
>>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
Fil
Voir

Click here to load this message in the networking platform