ProgressBar - how to change progress bar color

G

Guest

Hello,

How do I change the color of the progress bar from the default blue?? I
have tried .backcolor and .forecolor, but it seems to have no effect.

Thanks,

Brian
 
A

Alberto Silva

The SmartDeviceFramework from OpenNETCF has a progress bar control which
exposes more features than the standard one, among those there's the forecolor.
There are versions for .NET CF 1.0 and for 2.0.

Alberto Silva
MS Mobile Devices MVP
http://msmvps.com/AlbertoSilva
 
G

Guest

Alberto,

Excellent advice!! Those tools look really good, but I seem to be spending
all my time on figuring out how to install them, rather than using them. Any
tips on how to get them working??

I first tried the 1.4 version, added the tools to the toolbox (which
automatically added the references), but for some reason it was not possible
to add a reference to OpenNetCF.Windows.Forms, so I couldn't get anything to
work.

I then tried installing the new 2.0 Beta, but I cannot add any of the
references to VS2003.

Any ideas on what is going on??? The OpenNetCF forums don't seem to have
any answers.

Thanks,

Brian
 
A

Alberto Silva

Hi,
The SDF 1.4 is targeted at VS2003/.NET CF 1.0 and the SDF 2.0 beta can only
be used with VS2005/.NET CF 2.0

You have 2 options: either you download and install the compiled library,
adding the reference to the project, or else, you can download the source
code for that particular control and include it on your application.

Alberto Silva
MS Mobile Devices MVP
http://msmvps.com/AlbertoSilva
 
G

Guest

Alberto,

That was my problem with 2.0 Beta....I'm running VS2003. I figured it out
after a while.

As for 1.4, I did get it working by referencing the proper .dll. The
problem was that I was adding the reference to the
OpenNETCF.Windows.Forms.dll in the 'Designer' subfolder and not the one in
the 'Assemblies14' folder.

It's all figured out and is working great now.

Thanks,

Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top