I have a form with 3 grids. For one of these grids I require checkbox in column8. Not normally a problem if the grid is setup in the properties panel. Since I have some dynamic attributes on the form I have a WITH/ENDWITH for this grid calculating overall width, column widths and height. I have found that, once you start defining elements of a grid within the programming, you really need to define (or redefine) all properties. So, the WITH/ENDWITH does this. My problem is with the checkbox. Adding this in the properties panel is no good because that gets lost when the grid is 'redfined'. I included AddObject in the WITH/ENDWITH but that reports Class definition is not found. I have a complete class library copy with classes prefixed 'b'. So, .Column8.AddObject("check1", "bCheckBox") should do the trick. It doesn't, resulting instead in the class not found message. In desperation, I tried starting from scratch using AddObject to add the entire grid to the form but that also produces the same message!
bClassLib is in path. I am really hoping you are not going to suggest the class library is corrupted!
bClassLib is in path. I am really hoping you are not going to suggest the class library is corrupted!