>In my tests I add the checkbox programmatically to the grid. I use the Foxpro basic classes. I found out, that every control I add programmatically to the grid is read only. A breakpoint on ther readonly property has no effect, the program does not stop. What is worng?????
>
You are correct. I did the following in the degugger: under Tools, selected Breakpoints. Then changed the drop down to
Break when expression has changed. The expression was:
test.grid1.column3.check1.readonly I also put that expression in the debugger watch window.
I put a command button on the form to toggle the ReadOnly prop of the checkbox between .T. and .F. When I run the form and click the command button, the prop value changes, but the debugger does not stop execution. This is the first time that technique has not worked for me.
About the only other suggestion I can offer is to use the debugger to run the form line by line with a watch on the ReadOnly property of that checkbox.
Mark McCasland
Midlothian, TX USA