TForm1 = class(TForm)
...
Private
FItemClick: Boolean;
....
procedure TForm1.ListView1MouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
if not FItemClick then
showmessage('aaa');
FItemClick := false;
end;
procedure TForm1.ListView1Change(Sender: TObject; Item: TListItem;
Change: TItemChange);
begin
if ListView1.Selected <> nil then
FItemClick := true;
end;