Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ReadOnly Grid: What about checkbox in it?
Message
From
20/06/1998 16:34:04
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
19/06/1998 03:32:51
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00108690
Message ID:
00110272
Views:
41
>>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform