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:
00291076
Vues:
22
>>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.
>
>Oh, obviously! :)

Well, it was kind of weird. I could see the checkbox, and the Visible property was .T. in the debugger, but until I set chkRecordSelect.Visible = .T. in THISFORM.Init(), it wouldn't work. Go figure.
Chris McCandless
Red Sky Software
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform