Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declaring Function compiling error
Message
 
À
16/11/2000 15:27:41
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00442854
Message ID:
00442979
Vues:
10
>>Are you putting the line of code directly in the Form_Load event?
>>
>>Only the call to the function should be placed in the event itself
>>
>>Private Sub Form_Load
>>
>>Function(parameters)
>>
>>End Sub
>>
>>The declaring of the Function is a general declaration. Usually it's put in a seperate module not in the form module itself.
>>
>>
>>Nichole Brelje
>
>Hi Nichole
>
>it does not make sense to me (as a VFPers) but I guess I have to follow the rules, I had to create a module and add the code to the declaration section for it to work.

You don't have to create a module but it needs to be in the General Declarations section (at the top of your form, or class, or ...)
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform