Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox in grid 'uncheckable'
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00952596
Message ID:
00952647
Views:
7
This message has been marked as the solution to the initial question of the thread.
It just occured to me. I was using this grid to replace a list box because I needed dynamic coloring on one of the columns. I had read a thread on UT that told what needed to be done in order to make a grid look/feel like a listbox. One of the things they mentioned was setting the grid's AllowCellSelection to .F. to keep the grid from jumping or something when user tabs through fields (something to that effect).

Either way, I set that back to .T. and everything works fine.

Thanks to everyone for all your suggestions!

Rodd

>Are those settings straight from the Property Sheet of in code? If in code you need string delimiters [e.g., quotes or square brackets] around the RecordSource, ControlSource, CurrentControl properties.
>
>Do you have any code in the InteractiveChange of the checkbox. If so, what is it? Check the code in any parent classes as well. When you try to check the box, does it look like it tries to put a checkmark there then immediately remove it? If so, you may have some code in the InteractiveChange that is preventing this change. If you open the debugger and look at the Properties of this control, is it still ReadOnly and Enabled? If not put a break point on those properties when those values change to false.
>
>>Grid:
>>
>>RecordSource = users
>>RecordSourceType = 1 - Alias
>>ReadOnly = .F.
>>
>>
>>Column1:
>>
>>ControlSource = users.sendmsg
>>CurrentControl = chkntm1
>>ReadOnly = .F.
>>Sparse = .F.
>>Bound = .T.
>>
>>
>>Column1.Chkntm1:
>>
>>ControlSource = users.sendmsg
>>ReadOnly = .F.
>>Enabled = .T.
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform