Hi. I wonder if there is some way of using the Enter button in a Listbox? I have a Listbox with blocks from where I insert blocks with a Insert button. But I also want to be able to insert the selected block when hitting the Enter button.
Thank you.
Hello Danell,
there's no OnReturnPressed event available for listboxes at this time.
Please have a test if the form closes immediately if you hit enter.
If so, catch the form's event OnCancelClose and get the current selection.
I'm out of office for the rest of the week. I hope that helps a bit. I've not the time today to create a example. Maybe other may help here.
Fred
Thanks!
It works perfect.