Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to create a class
Message
From
27/11/2001 16:01:00
 
 
To
27/11/2001 15:51:25
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00586547
Message ID:
00586632
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
>ok I see the name and the width but when I run the testit program it tells me that class definition 'timetrans' is not found

So it had an error on the ox = CREATEOBJECT() line? If that is true, it would not have been able to display the name and the width.

Did you paste the class definition into testit.prg? That is everything between DEFINE CLASS and ENDDEFINE.

Or, alternatively, you could put SET PROCEDURE TO timesheet.prg ADDITIVE if you are putting the class definition in a separate file from testit.prg.
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform