setankabir
asked on
How to prevent multiselection on columns, but allow multiselection on rows?
In multiselect mode, how to prevent multiselection on columns, but allow multiselection on rows?
Thanks in advance
Thanks in advance
ASKER
I think that approach also won't highlight the fixed-row (in the most left part of DBGrid) as when we manually hold ctrl key and click the fixed-row to select rows.
ASKER
I'm so sorry, that is a wrong post. Actually I want to post it in another topic.
My real comment is ... ... ...,
My type of grid is DBGrid. I didn't find a OnSelectCell event in DBGrid.
What should I do now?
My real comment is ... ... ...,
My type of grid is DBGrid. I didn't find a OnSelectCell event in DBGrid.
What should I do now?
What version of delphi?
Regards Jacco
Regards Jacco
ASKER
I've been using Delphi 7.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
procedure TForm1.StringGrid1SelectCe
begin
CanSelect := ACol = YourCol;
end;
Regards Jacco