got a problem that I did not see coming before,

in the form, I have a panel, the autoscroll = true, in the panel, i added a toolstrip which docks on the entire panel. from the program, i added buttons to the toolstrip. so, when it has too many buttons, the panel automatically shows the scroll bar, and I can scroll it to see all buttons.

now, I added the feature which uses arrow keys to navigate (left/right) within the buttons.

however, got this problem. the arrow keys work fine. but when navigate, the panel will not auto scroll since the toolstrip does nto change the size. so, for example, if I go all the way to the left, the navigated button will not be in the view.

I checked the scrollintoview function, but, if I use it for the panel(toolstrip), it will scroll the toolstrip's top-left corner to view, while I need a button into view which is a control in the toolstrip.

not sure whether I explained this clearly.

anyone knows a solution?

thanks

bear