Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Column objects and Grids
Message
From
10/08/2003 13:11:11
 
 
To
10/08/2003 00:59:43
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00818648
Message ID:
00818708
Views:
15
In addition to my previous note.

I have created forms with the object added in design view and everything works great. When it is done programmatically by adding a container with all the properties of the column to the form using ADDOBJECT(), the properties dissappear.

I have looked into the VCX manually (USE vcx) and see all of the properties that I have assigned to the columns.

I use ADDOBJECT() not CREATEOBJECT().

When the error comes up "Class Definition cusColumn not found."

1. I suspend the program.
2. Step once.

The line I am looking at is the first line of the INIT of the cusColumn object I defined.

I have hacked the VCX to point directly at the file C:\blah\blah\progs\ccolumns.prg instead of ..\progs\ccolumns.prg in both the grid object and in the container object. Just in case the path was a problem. Tested it and the error still exists. Since then I have reset the path back to the original.

I have checked just before the ADDOBJECT(lcObject, lcObject) is called, what the SET("PROCEDURE") looks like. cColumns.fxp, Library.fxp and cPages.fxp are all there.

I have checked the name of the object a thousand times. I have never renamed the object.

Why is the cusColumn object not found?
Gordon de Rouyan
DC&G Consulting
Edmonton, Alberta
Email: derouyag@shaw.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform