General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only