Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with a checkbox in a grid
Message
De
12/11/1999 02:20:52
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00289524
Message ID:
00290498
Vues:
26
>>The grid, the column are not readonly. The table is not opened with the noupdate option. I can change the values in the other columns.
>>The result of my tests is, that every control I added dynamicly to a column of the grid is readonly. I can change the attribute to .f., but if I click into the grid, the readonly attribute is changed automatic to .t.. Any idea?
>>
>
>Not unless you have some code in the column or control that changes this property to read-only. What about code in the checkbox class you are dropping on the column? How are you adding the checkbox to the column? Are you putting the grid in edit mode first them dropping the checkbox into the column? Or is the control added programmatically at runtime? At this point it looks like the problem is some code changing this property. Set a break point on when the ReadOnly property value changes for that control.

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?????

Frank Fromm
Jörg Schneider
Joerg.Schneider@SMARTCRM.de
SMARTCRM CRM powered by MS Visual FoxPro
SMARTCRM GmbH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform