Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with a checkbox in a grid
Message
 
 
To
12/11/1999 02:20:52
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00289524
Message ID:
00290972
Views:
19
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform