If you mean a listbox in a dialog, $did(id).sel will return the line number of the selected line. I'm assuming that, to double click a line, you automatically select on your first click.

You could use the dclick event together with the $did(id).sel, I think it can work smile

Good luck,

Edit: didnt see it was MDX - I know nothing about ii, so the above might not work smirk

Last edited by Zyzzyx26; 30/08/04 09:17 PM.

"All we are saying is give peace a chance" -- John Lennon