I have a listview containing some items. When I move the mouse over a specific item I want
some things to happen. I see that TListView has a MouseMove event that I can use, but I'm not
sure about the code. I want it to be something like this (pseudo-code):
procedure TMainForm.ListView1MouseMove(Sender: TObject; Shift: TShiftState;
X, Y: Integer);
var mOverItem: integer;
//code for finding out which item the mouse is over. Stored in mOverItem. -1 if none.
//calls a procedure with the mOverItem as a parameter. don't worry about this one. I can handle this myself.
is this possible?
the listview can have different number of items.