Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot not add object to grid member object
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Cannot not add object to grid member object
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01033840
Message ID:
01033840
Views:
60
I have a grid class whose member data for the columns is set to a class in a PRG file. This all works fine. However, I want to add a custom control class that has a checkbox in it to a column in the grid. I am trying to do this AFTER the INIT of the grid once all the columns have been added, etc. However, I get the following error:

Error loading file - record number 63. chkBox < or one of its members >. Parent : Cannot add an object to this class

So this means we can not add a different control to a grid column when we specify member data?
Mark McCasland
Midlothian, TX USA
Next
Reply
Map
View

Click here to load this message in the networking platform