I have the following code:-Code: [Select]procedure TSys1.ListViewClick(Sender: TObject); begin if(ListView.ItemIndex > -1) then begin do something end;end; Linux: A click on any column in a row returns the row index Windows: Only a column 1 click will return the row indexAm I able to have the Windows version working like the Linux version
procedure TSys1.ListViewClick(Sender: TObject); begin if(ListView.ItemIndex > -1) then begin do something end;end;
P.S. Am I able to mark this as solved