Re-hello Patrick.

You may use also the "oncellevent" method of grid.

For example to select multi celsl you may do something like this:

procedure Tmygridform.oncellev(const Sender: TObject; var info:
celleventinfoty);

begin
  if ((info.eventkind = cek_buttonrelease) or
    (info.eventkind = cek_keyup)) then
    if (info.cell.row > -1) then
     grid.selectcell(info.cell, csm_select, False) // should select the cell
     else
      grid.datacols.clearselection; // for example to deselect all. click on
fixed row
en;
     




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to