500pts: ListBox (winform)- set to NOT lose focus when clicking some buttons?
Posted on 2006-06-13
I created a standard listbox (VS2003-winforms) with some buttons at the side saying Up and Down which basically moves the selected item up and down the listbox.
Works great but of course as soon as i hit either up or down i loose focus on the listbox.... is it possible to set it not to lose focus....
As at the moment when i click UP for example that i have rehighlight the item to press Up again
Thanks in advance for any help