context menus on listboxes?

When a user ‘right’ clicks on a row in mylistbox, I want to place the menu near the row on the screen, and i also need to know the row number.
If i’m not mistaken y in the event is a screen location, not a row number…

Yes Y is the location IN the list box not the row. Desktop?

yes desktop… so how do i get the row number then?


Now if only we could get the row number in web apps

WebSystem.MouseX[/code] and [code]WebSystem.MouseY

By the way: what is today’s date?

WebSystem.MouseX and WebSystem.MouseY gives x and y coordinates, not row number