N
nomad_heart
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TfrmMain.ListView1MouseUp(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
Var
Index:SmallInt;
begin
Index:=LyrSource.GetItemAt(X,Y).Index;
if Index<0 then exit;
...
end;
当点击空白区域时候就会出错,怎么解决?
Shift: TShiftState; X, Y: Integer);
Var
Index:SmallInt;
begin
Index:=LyrSource.GetItemAt(X,Y).Index;
if Index<0 then exit;
...
end;
当点击空白区域时候就会出错,怎么解决?