Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a form as a parameter
Message
De
17/12/1997 14:49:23
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Passing a form as a parameter
Divers
Thread ID:
00066675
Message ID:
00066675
Vues:
70
I am having some trouble to find the appropriate syntax to pass a form as a parameter.

I have a function defined as:

Public Sub GetIni(toForm As Form)

However, when I try to call this function, I can't find the appropriate syntax. From the Load() event of the form, I tried using:

GetIni This

but This is not supported as it's not OOP. What is the proper way of passing the form to that function?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform