Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with a checkbox in a grid
Message
 
 
À
12/11/1999 02:20:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00289524
Message ID:
00290972
Vues:
18
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform