Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lost Class
Message
 
 
À
04/11/1998 10:41:26
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00154323
Message ID:
00154343
Vues:
21
Boy do I feel dumb. :(

This sounded really familiar to me when I read it, so I looked where I call the program for the other class. Sure enough, I have SET PROC TO make_classes. That explains why it hasn't given me any problems.

The place I do have the problems, I have DO make_classes.

Duh!

Thanks for showing me the light. :)

-Michelle


>This is the way I handle a similar situation. I have one prg called CLASSDEF.PRG that has all my programmatic class definitions. Then I include it in my SET PROCEDURE TO command. If you like you can SET PROCEDURE TO before creating the class and then RELEASE PROCEDURE. Again, keep in mind whether you need/want the ADDITIVE clause if you use this technique.
>
>>No. In the LOAD of the form, I run the program, make_classes. Later in the form, if the user chooses to route the trips, I create an object of type 'router'. It worked for a while, but most of the time, it says it can't find the class definition.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform