vb.net - vscrollbar - Change the width of a scrollbar

vscrollbar visual basic (4)

The easiest way would be to search for scrollbar instances in the form/control's controlcollection and then simply update the width value.

foreach(Control ctrl in dataGridProducts.Controls)
    if (ctrl.GetType() == typeof(VScrollBar))
        ctrl.Width = 100;

This works on Windows CE with dot net compact framework

Is it possible to change the width of a scroll bar on a form. This app is for a touch screen and it is a bit too narrow.

The width of the scrollbars is controlled by Windows. You can adjust the scrollbar width in Display Properties and it will affect all windows on the terminal.

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


Change width of scrollbars

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