Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Copying a grid to a different container
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Error Copying a grid to a different container
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01521187
Message ID:
01521187
Views:
134
Probably something obvious, but I'm not getting it.

I have defined a column class and its header class in a prg file. In that class definition, I set the HeaderClass property, and the HeaderClassLibrary property to the full path to the prg file.

In the form designer, I instance a grid on a page and set the grid's MemberClass property to the column class in the prg file, and the MemberClassLibrary property to the full path to the prg file.

When I run the form, the grid works normally.

Back in the form designer, I select the grid > right click > copy, go to a different page, and right click and paste. I get an error message saying that the header class definition is not found. If I look at the properties of the columns in the grid, I can see that the HeaderClass and HeaderClassLibrary are correct.

Why does this happen? Is there a way to copy a grid set up in the form designer to another container?

Thanks,
Jim
Next
Reply
Map
View

Click here to load this message in the networking platform