Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Label Colour Fading


Hi all,

Is there any code that allows me to fade the backcolor of a label?

Thanks

Da

--
drawling
-----------------------------------------------------------------------
drawlings's Profile: http://www.excelforum.com/member.php...fo&userid=3662
View this thread: http://www.excelforum.com/showthread.php?threadid=56899

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,069
Default Label Colour Fading

If you use a Rectangle from the Drawing toolbar as your label, you can set
the transparency of the background color. You can also add formatted text to
a Rectangle.

Hope this helps,

Hutch

"drawlings" wrote:


Hi all,

Is there any code that allows me to fade the backcolor of a label?

Thanks

Dan


--
drawlings
------------------------------------------------------------------------
drawlings's Profile: http://www.excelforum.com/member.php...o&userid=36626
View this thread: http://www.excelforum.com/showthread...hreadid=568992


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 138
Default Label Colour Fading


"drawlings" wrote
in message ...

Hi all,

Is there any code that allows me to fade the backcolor of a label?


Labels have a 'picture' property, so you could provide a suitable background
image to achieve the desired effect.
Joerg


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Label Colour Fading


Thanks for your replys, but I would like to make the change on the fly
since I am using the label as a progressbar.


--
drawlings
------------------------------------------------------------------------
drawlings's Profile: http://www.excelforum.com/member.php...o&userid=36626
View this thread: http://www.excelforum.com/showthread...hreadid=568992

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 138
Default Label Colour Fading

"drawlings" wrote
in message ...

Thanks for your replys, but I would like to make the change on the fly
since I am using the label as a progressbar.


You can change almost any property, that's not the point.
I was puzzled by "colour fading". I was thinking of gradient colour. But if
you need a progressbar, then 2 colours would do, right?
Here is an idea:

I assume that you want to put your progress bar on a UserForm. You need 3
labels:
1 label, width as desired for the progress bar, background color white, no
text

now put a copy of this label on top of it. For this second label change
properties:
initial width zero, background colour blue, no text (you guessed it, this
will become your progress bar)

On top of the whole thing place a centered text (another label)

According to progress of whatever your code is doing your code must change
the width of the blue label and the contents of the text label.
I haven't tested it, but it should work.

Cheers,

Joerg


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ACESS 2003 REPORT LABEL BACKGROUND COLOUR PHILIP BENWELL Excel Discussion (Misc queries) 1 December 11th 09 11:53 AM
Blinking/Fading Message Box. FARAZ QURESHI Excel Discussion (Misc queries) 1 November 22nd 07 04:34 PM
How do I have data bars WITHOUT the clour fading to the right? MentalDan Excel Discussion (Misc queries) 3 April 7th 07 11:34 PM
Fading Form helmekki[_103_] Excel Programming 4 November 16th 05 05:01 AM
label colour (MakeAppointmentInOutlook2003) adropinabucket Excel Programming 1 November 22nd 04 02:18 PM


All times are GMT +1. The time now is 03:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"