Solved

Quick Help Needed Hense points

Posted on 2003-12-10
3
218 Views
Last Modified: 2012-05-04
How do i create a label which uses two backcolors one for the top and one for bottom with the colors merging into each other?
HELP!
thanks in advavce
Chris
0
Comment
Question by:chris_shadow
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 18

Accepted Solution

by:
testn earned 500 total points
ID: 9911603
0
 
LVL 10

Expert Comment

by:smegghead
ID: 9912036
I'm not sure what those links do, as they seem to be dead.. maybe it's just my browser.

So I'm sorry if I repeat what's in those links

But what you could do is just draw a rectangle on the screen behind the label, then just set the label's backcolor to be transparent.

Something like

e.Graphics.FillRectangle(new LinearGradientBrush(BoundsOfLabel,Color.LightGreen,Color.Green,30,true),BoundsOfLabel);

HTH

Smg
0
 

Author Comment

by:chris_shadow
ID: 9912090
thanks once again testn
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question