![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Oct 2007
Posts: 16
Rep Power: 0
![]() |
I started playing with some drawing commands
is this suposeto happen? When Red and green are 255 and Blue is 0 it punches a hole in the form and you can see through it. Hmmm...
Camtasia swf movie link. http://www.acousticlights.com/redgreenblue.html private void trackBar1_Scroll(object sender, EventArgs e)
{
Red = trackBar1.Value;
Color myColor = Color.FromArgb(Red, Green, Blue);
button1.BackColor = myColor;
}
private void trackBar2_Scroll(object sender, EventArgs e)
{
Green = trackBar2.Value;
Color myColor = Color.FromArgb(Red, Green, Blue);
button1.BackColor = myColor;
}
private void trackBar3_Scroll(object sender, EventArgs e)
{
Blue = trackBar3.Value;
Color myColor = Color.FromArgb(Red, Green, Blue);
button1.BackColor = myColor;
} |
|
|
|
|
|
#2 |
|
Programmer
Join Date: Jul 2006
Location: using Earth.Africa.Egypt.Cairo;
Posts: 76
Rep Power: 3
![]() |
check the transperancyKey property of the form
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: Oct 2007
Posts: 16
Rep Power: 0
![]() |
That was it. I had to right click the property and select Reset so non of the colors would make it transparent.
Thanks. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unix commands compatible with Windows? | titaniumdecoy | Bash / Shell Scripting | 7 | Oct 5th, 2006 7:25 AM |
| Need help getting started | g2k556 | C++ | 18 | Jun 4th, 2006 5:16 PM |
| Keep Drawing Pixels without previous ones cleared. | JavaMan | Java | 4 | Oct 27th, 2005 7:43 PM |
| PHP system commands | ktsirig | PHP | 6 | Oct 4th, 2005 1:24 AM |
| how to send commands to a prompt? | acab | Python | 4 | Apr 28th, 2005 5:20 AM |