Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatic checkbox in grid behaving readonly?
Message
From
24/09/1998 01:04:21
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00139976
Message ID:
00140218
Views:
25
You say it "behaves" as if it's readonly. Is it readonly? After you initialize the grid, and break, is the checkbox control itself readonly? Also, maybe since the default when you addobject is that the obj is invisible, do you need to set the visible property?

I suggest creating your checkbox class that looks exactly the way you want it, and addobject _that_ to the column instead of the internal checkbox.

>I am experencing the following problem on a VFP 5 project. When the checkbox is added to the grid it behaves as if it is "readonly". Without the checkbox the column is writeable. I have tried many different sequences of property settings without achieving a solution. Any ideas?
>TYIA,
>Robert Baker
>
>select .f. as lbill,fldb from table into cursor cur1
>USE DBF("cur1") IN 0 AGAIN ALIAS cur2
>with thisformset.frmA.grdA
...snip
Previous
Reply
Map
View

Click here to load this message in the networking platform