Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I get my class back?
Message
From
10/11/2004 13:21:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
How do I get my class back?
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00960141
Message ID:
00960141
Views:
61
While goofing with my "Classes" tab on the project form I accidentally disappeared one of my classes (i.e. part of a class lib). This class is AddObject-ed to a form at run-time. When I run the form I get:

"Class definition cboZoneList not found"

Now I went to a backup, found the class OK. Then I went to my "live" class lib and created a new class, of the same name, based on the backup class.

I initially have the class in a grid (it's a drop-down combo to select an item to be placed in each cell of a column), it's justr that as I refresh the cursor in the grid I have to programmatically reinstate everything. I can see, touch, look at the prop's etc. of the class but, when I run the form, I get the message again:

"Class definition cboZoneList not found"

Grrr! What can I do?

'ppreciate it

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Next
Reply
Map
View

Click here to load this message in the networking platform