<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>(Delphi 7)<br><br>I wish to detect the user selecting a row (item) in a ListView component to display child records for the item in another control. <br><br>There is no "OnScroll" event for this control. I can use the "OnClick" event OK for a selection cia the mouse, but how do I detect when a user scrolls on to a record by using the arrow keys (or PgUp, PgDn or moving the scrollbar ?<br><br>I have tried the using the OnChange event but it seems that there are two events generated for each movement by the arrow keys.<br><br>Does anyone have a code snippet to accomplish this?<br><br>Eric.<br>                                            </div></body>
</html>