scroll flowlayoutpanel with keyboard

Zexor

Well-known member
Joined
Nov 28, 2008
Messages
520
Programming Experience
3-5
I was able to scroll the flowlayoutpanel with keyboard using the previewkeydown event. But if i hit the arrow key, the flowpanel seems to lose focus and wont scroll anymore until it gain focus again. Is the arrow key moving the focus to the next control? How do i prevent that?
 
There was a thread on a related topic not that long ago and JohnH posted about overriding the form's ProcessDialogKey method I believe. Have a search for that and see what he said. It will likely be relevant to you.
 
Back
Top