>I have a list box that in the lost focus event fires a necessary procedure. I want to skip this when someone presses the cancel button. How do I trap for that specific object?
You can set the Cancel propety and do the LastKey() = 27 thing, and if you need more flexibility, you can look check if MDown() and Sys(1270) is your button. If you need more control, check out Thread #
404395 Message #
404755 for some ideas.