Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with a checkbox in a grid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00289524
Message ID:
00291000
Vues:
15
>I have some problems with integration from a checkbox into a grid. The SourceControl is a table not a cursor. The table was created at runtime.
>The value of the table must be setting by the checkbox, but the box is readonly and I am not able to change the state of this setting.
>Can anybody help me????

I had this same problem when I added a checkbox to a grid at runtime. I have a picklist form class where, depending on a paramater passed to THISFORM.Init(), the user can select one record or multiple records.

I ended up having to set both of these properties in THISFORM.Init():

THISFORM.grdPickList.COLUMNS[x].chkRecordSelect.READONLY = .F.
THISFORM.grdPickList.COLUMNS[x].chkRecordSelect.VISIBLE = .T.

It took me forever to figure out it was the Visible property that was causing the problem.
Chris McCandless
Red Sky Software
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform