4 Replies - 976 Views - Last Post: 20 October 2013 - 04:43 AM Rate Topic: -----

#1 bengie  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 94
  • Joined: 12-October 13

How can I change the way scroll bars look in vb.net?

Posted 19 October 2013 - 03:28 PM

Basically I want to change the way the scroll bar looks. Not just the size but the colour, the details and everything.

Thanks in advance :)
Is This A Good Question/Topic? 0
  • +

Replies To: How can I change the way scroll bars look in vb.net?

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9393
  • View blog
  • Posts: 35,273
  • Joined: 12-June 08

Re: How can I change the way scroll bars look in vb.net?

Posted 19 October 2013 - 03:51 PM

A quick search for "html scrollbar style" yields :

http://webdesign.tut...your-ui-design/

*cough* hint hint
Was This Post Helpful? 0
  • +
  • -

#3 bengie  Icon User is offline

  • D.I.C Head

Reputation: -1
  • View blog
  • Posts: 94
  • Joined: 12-October 13

Re: How can I change the way scroll bars look in vb.net?

Posted 20 October 2013 - 02:09 AM

I meant vb.net though?! :/
Was This Post Helpful? 0
  • +
  • -

#4 andrewsw  Icon User is online

  • It's just been revoked!
  • member icon

Reputation: 3624
  • View blog
  • Posts: 12,527
  • Joined: 12-December 12

Re: How can I change the way scroll bars look in vb.net?

Posted 20 October 2013 - 04:33 AM

View Postbengie, on 20 October 2013 - 09:09 AM, said:

I meant vb.net though?! :/

Moved to the VB.NET forum.
Was This Post Helpful? 0
  • +
  • -

#5 andrewsw  Icon User is online

  • It's just been revoked!
  • member icon

Reputation: 3624
  • View blog
  • Posts: 12,527
  • Joined: 12-December 12

Re: How can I change the way scroll bars look in vb.net?

Posted 20 October 2013 - 04:43 AM

If you mean the H and VScrollBar controls then these by default have limited formatting properties, just BackColor and ForeColor. You could subclass these controls, creating your own user/custom controls. Alternatively, you might search for a Visual Studio plug-in.

I am assuming you are referring to WinForms? WPF probably has a lot more scope for modifying the equivalent controls.

If you are talking about the scrollbars that automatically appear within a control then I don't know if it is possible, or how difficult it might be, to customize these.



It is also possible to create your own scrollbar-controls; you would have to write all the event procedures to handle clicking and dragging the control, and all the Maths to work out how far to move, and hide, the associated content.

This post has been edited by andrewsw: 20 October 2013 - 04:46 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1