Karl
Karl

Reputation: 956

Custom scrolling in Winforms c#

I am developing an application that will use touch screens to navigate for use in a warehouse environment.

There is a need to present a list to the users and because this list could be quite long, the user will at some point need to scroll down the list.

As you all know the system scroll bars for panels and textboxes etc is quite small and I would like to know if I can either resize the controls that make up the scroll bar (the little arrows at the top and bottom, and the place holder bar in the scroll bar itself), or if I can create a couple of buttons that can scroll up and down my control for me?

Thanks, Karl

Upvotes: 4

Views: 4816

Answers (2)

Dave New
Dave New

Reputation: 40002

Answer pulled from this post.

Check this out:

Winforms - Adjust width of vertical scrollbar on CheckedListBox

Worth mentioning too:

.NET Compact framework - make scrollbars wider

More of the same, but this time with a better solution through the use of the scrollbar control:

Change the width of a scrollbar

Another one in which the guy teaches how to create your own scrollbar control (interesting):

Set the Scrollbar width of a DataGridView

The last one (worth trying):

Is there a way to get the scrollbar height and width for a ListView control

Upvotes: 1

user27414
user27414

Reputation:

You can add your own scroll buttons and programatically scroll like so:

myPanel.VerticalScroll.Value++;

Upvotes: 0

Related Questions