Ask Your Question
1

What is the process to modify the scrollbar color of FastColoredTextBox?

asked 2021-05-15 11:00:00 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-01-07 07:00:00 +0000

devzero gravatar image

To modify the scrollbar color of FastColoredTextBox, follow these steps:

  1. In Visual Studio, open the designer view of the form that contains the FastColoredTextBox control.

  2. Select the FastColoredTextBox control in the designer view.

  3. Open the Properties window, and locate the property named "Scrollbars".

  4. Expand the "Scrollbars" property to view its sub-properties.

  5. Locate the sub-property named "Vertical".

  6. Click on the value of the "Vertical" sub-property, and select "Custom" from the dropdown list.

  7. Click on the ellipsis (...) button next to the "Custom" value to open the Color picker dialog.

  8. Choose the color that you want to use for the scrollbar and click the OK button to close the Color picker dialog.

  9. Save your changes to the form.

After modifying the vertical scrollbar color, you can follow the same process to modify the horizontal scrollbar color by selecting the "Horizontal" sub-property of the "Scrollbars" property and setting its value to "Custom".

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-05-15 11:00:00 +0000

Seen: 9 times

Last updated: Jan 07 '22