
18.01.2012, 22:58
|
 |
.
|
|
Регистрация: 18.05.2011
Адрес: Омск
Сообщения: 3,970
Версия Delphi: 3,5,7,10,12,XE2
Репутация: выкл
|
|
Скорее всего ТС нужно ListBox.ItemAtPos.
Код:
procedure TForm1.ListBox1MouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X,Y: integer);
var
Index: integer;
begin
Index := ListBox1.ItemAtPos(Point(X, Y), True);
...
end;
__________________
Je venus de nulle part
55.026263 с.ш., 73.397636 в.д.
|