Jump to content

C#(.net) why foucs doesn't stay on Panel


Recommended Posts

hello friends,

I'm developping windows application on C#,

I put hSclollbar and vScrollbar into Windows.Panel.

I run the application, and pressed left cursor key upon the panel.

then hScrollbar gets focus even if it was not focused before(focus was on panel).

I don't want scrollbar focused on, but the panel;

does anybody know how to keep focus on Windows.Panel when cursor key pressed?

Edited by kokoroinaka
Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...