473,385 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Skinning a scrollbar, adding custom colors

Hey all...

My boss typically dislikes the packaged components, and so I'm
wondering if there's any code out there to modify the way a scrollbar
looks. I'd love to change colors and, if possible, the arrow buttons.

I've seen http://www.codeproject.com/vb/net/corescrollbar.asp and
tried getting it to work, but so far I'm not impressed... the code is
very chunky and frustrating to work with. Any other ideas out there?

Thanks in advance...

Jan 30 '07 #1
3 6530


On Jan 30, 12:25 pm, "papalarge" <kwy...@gmail.comwrote:
Hey all...

My boss typically dislikes the packaged components, and so I'm
wondering if there's any code out there to modify the way a scrollbar
looks. I'd love to change colors and, if possible, the arrow buttons.

I've seenhttp://www.codeproject.com/vb/net/corescrollbar.aspand
tried getting it to work, but so far I'm not impressed... the code is
very chunky and frustrating to work with. Any other ideas out there?

Thanks in advance...
hehe I would have probably referred you to something like that. It's
actually a well-written example (well, it looks like it, I haven't
tried the code yet) and I may use it myself. Thanks! ;)

Anyway, if you want to do your own custom control drawing, be prepared
for a little bit of extra work. If the code of this example seems to
"chunky and frustrating", maybe try eliminating any features or
properties you don't need or want.

Jan 30 '07 #2


"papalarge" <kw****@gmail.comwrote in message
news:11**********************@a75g2000cwd.googlegr oups.com...
Hey all...

My boss typically dislikes the packaged components, and so I'm
wondering if there's any code out there to modify the way a scrollbar
looks. I'd love to change colors and, if possible, the arrow buttons.

I've seen http://www.codeproject.com/vb/net/corescrollbar.asp and
tried getting it to work, but so far I'm not impressed... the code is
very chunky and frustrating to work with. Any other ideas out there?

Thanks in advance...
You could try to use the one listed on the codeproject as a starting point
and write your own?

HTH,
Mythran
Jan 30 '07 #3
You could try to use the one listed on the codeproject as a starting point
and write your own?
Man... I was hoping you wouldn't say that. Yeah, it seems pretty
unfinished. There are some irritating things trying to get it modular
at all, too. It certainly is a good roadmap though, when it comes to
all of the methods, events, and properties that would be necessary in
a custom scrollbar control.

Oh well.... I welcome any other input, if there are other good
examples out there of a custom scrollbar...

Jan 31 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Red Wolf | last post by:
I have recently seen some code in a style sheet to change the colors and such of a scroll bar, specifically: scrollbar-arrow-color: #BA613F; scrollbar-face-color: #500F09; scrollbar-base-color:...
2
by: meyer_phillip | last post by:
I am looking for an application skinning engine that supports colour themes. Winamp is an example of an app supporting colour themes. For example in Winamp I can pick the "Winamp Modern" skin and...
9
by: kjs | last post by:
Is there any was to control the color of the scrollbars when using the 'overflow: scroll' attribute? TIA, Karl
2
by: kurt sune | last post by:
How do I render the scrollbars by CSS in a listbox? I have understood that an asp listbox gets rendered as a select element. So I tried first by adding a style element: ..TA...
2
by: NewGuy | last post by:
I'm new to scripting so this may be painful. I have created a JavaScript/HTML/CSS page. In the CSS code I set the colors for the scroll bars: * {scrollbar-arrow-color:#000} *...
4
by: Josetta | last post by:
Can someone point me in the right direction... We have changed our logo and colors and I am redesigning numerous reports. Does anyone know a way to add custom colors whenever I start up my...
4
by: Peter Oliphant | last post by:
Although the ScrollBar class has BackColor and ForeColor properties, these properties don't seem to have any effect. Is this correct? If so, is it possible to change the color of a ScrollBar?
1
by: Hunter.lennon | last post by:
I want to create a custom scrollbar using particular images, which will then be placed on a canvas to control another window on the canvas. Right now I am inheriting from scrollbar, but I do the...
0
by: ravikumar4 | last post by:
Hi, I want to give custom colors to the list box.By using the back color and fore color property we can change the appearnce. By using the ownerdraw we can change the appearnce of items. Can...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.