473,569 Members | 2,872 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6542


On Jan 30, 12:25 pm, "papalarge" <kwy...@gmail.c omwrote:
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.a spand
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.c omwrote in message
news:11******** **************@ a75g2000cwd.goo glegroups.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
1930
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: #500F09; scrollbar-dark-shadow-color: #BA613F; scrollbar-highlight-color: #BA613F; scrollbar-shadow-color: #BA613F;
2
1463
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 apply one of the 30 or so color themes to that skin - so it's the same skin in different colors. I have looked at various skinning engines such...
9
4313
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
10643
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 {scrollbar-3dlight-color:aqua; scrollbar-arrow-color:fuchsia; scrollbar-base-color:fuchsia;
2
3416
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} * {scrollbar-face-color: #697210} these are the default colors. In the HTML code I can use this same thing should I need to change
4
2254
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 database, so that I don't have to continually add them again every time I reopen the database?
4
1415
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
2942
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 movement with custom functions. When I create it and put in into the canvas with "canvas.create_window" a standard scrollbar shows in the correct...
0
1267
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 anybody suggest me how to chnage the color of scrollbar. Any hint will be helpful for me. regards, ravi.
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7930
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8138
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7681
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6290
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5228
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
950
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.