Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lost Class
Message
From
04/11/1998 10:45:30
 
 
To
04/11/1998 10:41:26
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00154323
Message ID:
00154343
Views:
22
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform