Anyone else ever had strange issues using a checkbox in a grid? Specifically, the column with the checkbox is used as an Include or Select? column to designate which records to choose for some processing. I got it working fine, but...

I've noticed the following strange behaviors:

1) Sometimes when you check the checkbox, it doesn't seem to toggle the value, even though you clearly clicked it. Most of the time, it works as expected.

2) In the header click of the column, I am replacing the value of the field with the !value of the field, so as to toggle all selected, none selected. This works fine, but strangely, if you first click a record, say it turns to checked AND DO NOT move to the next row, clicking the header, seems to suggest the value of the control source is never updated, as all records are then checked, where as it should have been all records are checked except the 1st one that you had already checked. That one should have been 'toggled' off..All columns are readonly .f., except this one. IF after clicking the 1st record to checked, I move to a different record next, THEN click the header, all records are properly toggled checked, with the 1st record toggled off.

I checked the grid class that this form's object is based on, and there's no code there to be causing this kind of problem. There's no code at all except to set the sparse, readonly, ,enabled, and control source properties at the init of the grid.

Anyone have any ideas what's going on here? I don't have the time to really trace through this much as I've higher priority things to deal with first..

Thanks-
Steve





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to