procedure TForm1.ListView1MouseMove(Sender: TObject;
Shift: TShiftState; X, Y: Integer);
var
Item: TListItem;
XPos: Integer;
Index: Integer;
begin
Item := ListView1.GetItemAt(2, Y);
if Item <> nil then
with ListView1.Columns do
begin
XPos := 0;
for Index := 0 to Count - 1 do
begin
if X in [XPos..XPos + Items[Index].Width] then
begin
Edit3.Text := IntToStr(Items[Index].Width);
Break;
end;
Inc(XPos, ListView1.Columns[Index].Width);
end;
end;
end;
이런 식으로 얻어오면 됩니다.