Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot not add object to grid member object
Message
From
19/07/2005 10:51:01
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01033840
Message ID:
01033860
Views:
20
I have had problems in the past dropping controls on a grid even without the Member class. I started doing this in code and have not seen a promlem since. What I wish I could do is define a control for an individual column in the member class prg <s>.

>I figured you could and I am trying to do this in code in the grid's init. What I am trying to add is a control class that has a child checkbox object. I have dropped this control into grid columns before. I was just wondering if it was a problem when the columns were now defined by PRG classes. Maybe my control checkbox class has a problem now. I haven't touched it in years though.
>
>>Mark,
>>I do this all the time in code. I add the control I want in the grids init.
>>
>>>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform