THX Jack,

That's what I needed.

Bart


On 14-okt-06, at 14:42, CV wrote:

Right. Clicking a CheckBox doesn't automatically select the row, but if you want it to, just add code like this in CellAction:

If me.CellCheck(row, 0) then // if checkbox on then select row
    me.ListIndex = row
Else
    me.ListIndex = -1
End

And in Change put:

  If me.ListIndex <> -1 then  // if a row selected, check the box also
    me.CellCheck(me.ListIndex, 0) = true
  Else  // no row selected, turn off checkboxes
    dim i as integer
    For i = 0 to me.ListCount - 1
      me.CellCheck(i, 0) = false
    Next
  End


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to