Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I pass an object to a form
Message
 
À
04/03/2002 12:33:04
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Québec, Canada
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00627847
Message ID:
00629076
Vues:
11
>HI Vin,
>Thank you for the input. It works fine but I am still wondering how to pass a reference of an instanciated object in VB6. Suppose that the object is already in use in form A and we want to pass it to a form B. Form B change porperties of the object and Form A can see the changes made by form B to the object. In shirt, I want to use the same referenced object in two differents places.
>
>Thank's again,
>Christian

Well, objects are always passed by reference, so you should be fine. Changes in either spot will change the "actual" object. Or am I misunderstanding?
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform