Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#INCLUDE
Message
 
 
À
24/05/2001 05:49:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00510761
Message ID:
00510767
Vues:
13
Hi!

Kevin, it is not reliable. Just open the menu for class and you will see the Include file menu item - specify include file there.

It is not reliable because it is not predictable where in the source code of the class in VCX file INIT procedure will be declared. If it is declared at start of the source code, it will work. Otherwise, it will not work for procedures declared before the INIT in the source code.

To avoid errors related to the exact path to the class/form include file, edit VCX manually as a DBF table (Include file is in soem of the Reserved fields in VCX). Than specify path to include files in the SET PATH settings.

HTH.

>Morning
>
>If I issue an #INCLUDE filename.h in the Init of a Class, will I be able to use the constants in all Methods in that Class?
>
>Thanks
>Kev
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform