I love my 9.5 Update 5 Checkboxes in listviews, but I'm stumped by one
process. I'm sure there's a way:

1) How can I tell which checkbox was just checked or unchecked? Or what the
key value is in a row that was just checked or unchecked?

A person can check a checkbox without "selecting" a row.
So the ITEMINDEX property doesn't know what row got checked. The variable
assigned to the ListView doesn't know what row just got checked..

I can save the state of CHECKEDROWS and compare it to the new CHECKROWS
after the click, but that could be a lot of parsing. (They could be
"unchecking" the 17th checkbox in a previously-saved list of 30, e.g.)

2) Based on some user action, I would like to "check" certain rows for
them, and not others, but I haven't found a way yet to discover a key value
in a row so I can decide whether to check or uncheck, without doing a
"makeclick."

Thanks.

Bill

Reply via email to