WebListBox Add paging recordset

Hi
i am working on WebListBox to use with paging recordset

this using mouse or keys
so how i now if the cursor on the listbox is going up or down to check the position of the record to then call paging up or down to fill the listbox.

If the Focus is set to the listbox, you can use the “Keypressed” Event

in the overgiven Details you can select the pressed key.

thanks but i need like a way to now when the listbox is on the las record and when it at the begin.

i need like event to fire at the last record and at the begin.

is posible to subclass to do this.

i do no have any idea if i subclass is more control over the listbox or is same.

you can do that with the listindex and listcount properties

if list.listindex + 1 = list.listcount then (you 're at last row)
if list.listindex = 0 then (you’re an the first row)

ok
thanks