Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I release a form from the Activate method?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00439439
Message ID:
00439477
Vues:
15
Paul, here's a simple example:

test 1
oform = createobj("form")
oform.show
oform.addobject("olistbox", "listbox")
oForm.release() && IT'S GONE

test 2
oform = createobj("form")
oform.show
oform.addobject("olistbox", "listbox")
oRef = _screen.activeform.olistbox && create extra object reference
oform.release() && DOESN'T GO AWAY!

hope this helps!
-michael

My brain hurt like a warehouse, it had no room to spare, I had to cram so many things to store everthing in there. - David Bowie
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform