Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checkbox in grid column causing problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00279696
Message ID:
00279702
Vues:
18
Doug,

There's a bug. Checkboxes are not readonly in a readonly column, so you probably have a pending tableupdate waiting. I added a lReadOnly property to my checkbox class and made the When:

return ! this.lReadOnly

When I use the checkbox in a read-only grid I set the property .t. You can not make the property name ReadOnly because VFP doesn't like it on the prop sheet.

>I have a checkbox in a grid column. The column with the checkbox is ReadOnly. I have a sort method on the header for each column of the grid. When users click on the header, the grid data is resorted based on the header clicked. The resort works great on all columns except the one with the checkbox. It works fine unless the user first clicks on a checkbox and then tries to resort. When they do, the grid goes blank? [I am using SQL Server 7 for data]. If you don't first click on the checkbox in the grid, everything sorts fine in that column. Any ideas?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform