Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to reference an other form than the mainform ?
Message
De
25/04/2001 19:16:20
Phillip Perkins
Technology Consulting, Inc.
Louisville, Kentucky, États-Unis
 
 
À
25/04/2001 18:30:06
Ing. T.R.M. Pluym
Pluym Elektronics Bv
Hulst, Pays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00499895
Message ID:
00499916
Vues:
34
>Stephen,
>
>I use exactly the same name:
>
>do form frmSearchForm
>
>I even renamed the scx to match the name. It has someting to whith being the mainform. When I run the form bij using Projectmanager->Documents->Run the form gives a bunch of errors but the frmSearchFrom.Refresh() works just fine.
>When I use the same frmSearchFrom.Refresh()by executing the frmSearchForm from an other form the error occurs.
>
>Theo

in your Load or Init event of your search form put:
public frmSearchForm
frmSearchForm = this

just make sure that on your Unload event:
release frmSearchForm

it's a quick and easy way to get around that.
"D'OH!" --Homer Simpson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform