Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ReadOnly Grid: What about checkbox in it?
Message
De
20/06/1998 16:34:04
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
19/06/1998 03:32:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00108690
Message ID:
00110272
Vues:
42
>>>>I added a custom property to my lowest level checkbox mlReadOnly (you can't use ReadOnly because it terribly confused VFP) it defaults to .F. the When method is:
>>>>
>>>>return ! this.mlReadOnly
>>>>
>>>
>>>Thanks David. That's a solution too. I'm asking me why checkbox doesn't has a readonly property. Will do in VFP 6?
>>>Carlos.
>>
>>Just a thought - you may have a textbox with a iif(lYourfield,"Yes"," ") as ControlSource. Or you can use a bullet character instead of "Yes".
>
>Dragan: this is not a valid controlsource for a textbox. Maybe for the column. But if the column has this controlsource, how do the user introduce values in this field?
>Carlos,

I thought the whole grid was readonly. Well, you can still add the checkbox (i.e. having both the checkbox and textbox in logical cells), and play a bit with Sparse and DynamicControl properties of the column, so you have the checkbox in the current row, and textbox in the others.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform