George,
Please note that this has NOT been tested completely!!
We found the problem occurred when I used a grid based on the VMF grdPickList or grdDataEntry classes. If we entered code to programmatically set the controls source property it would bomb
IF we entered a line for each column. In other words, if I was using 6 columns and had six lines:
this.column1.controlsource = 'chnum'
...
this.column6.controlsource = 'Description'
then I had a problem. If I added a seventh column, leaving the controlsource, header, etc. blank I had no problem. Cheesy solution: Add an extra column to my grids.
I've tested this by removing code lines one by one. It's definitely the line corresponding to the 'last' column that's causing the problem. We've repeated it on 3 machines, 2 OS and about 6 forms, so it is consistent and repeatable.
The code was moved from the 'SetColumnControlSources' method to the 'ShellAdditionalInit' method but still caused the same problem. It's grid-based, not method-based.
HTH
Barbara
>Can you be more specific about the problem and your work around. We are also using MaxFrame. I would really appreciate it.