Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox not working in grid
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Checkbox not working in grid
Miscellaneous
Thread ID:
01133691
Message ID:
01133691
Views:
69
I am having a problem getting a checkbox to work in a grid. I've got a cursor (TmpMatList) that is the result of a query that I created by saying, "...INTO CURSOR TmpMatList NOFILTER READWRITE" (VFP8), then I create the grid, like below...I SEE the checkbox just fine, but no matter what I do, I cannot click it! It looks like it's disabled, but I clearly enable it AND make sure it's not read only. What am I missing???

Thanx everyone!
WITH This.MyGrid1
	.GridLines    = 3
	.RecordSource = "TmpMatList"
	.columncount  = 3
	x=1
.
.
.
	x=2
.
.
.
	x=3
	.Columns(x).ControlSource   = "TmpMatList.Picked"
	.Columns(x).ReadOnly        = .F.
	.Columns(x).Header1.caption = "Order"
	.Columns(x).Header1.FontBold= .T.
	.Columns(x).Width           = 40
	.Columns(x).RemoveObject("Text1")
	.Columns(x).NewObject("Check1", "CheckBox")
	.Columns(x).Check1.caption  = ""
	.Columns(x).Check1.Visible  = .T.
	.Columns(x).Check1.Enabled  = .T.
	.Columns(x).Check1.ReadOnly = .F.
	.Columns(x).Sparse          = .F.
ENDWITH
Independant Foxpro Developer
Spring Hill, FL
jpirola@tampabay.rr.com
352/686-8373
Next
Reply
Map
View

Click here to load this message in the networking platform