then i set a transparencykey, cause i want everything outside the border of the image to be transparent.
Inside the border of backgroundimage i have created some labels with no background, and then i hide some of the labels
This all works fine..
But when i want to show the hidden labels. For a second i can see whatever is behind the background of the label (for example: my desktop).
So my question is:
How can i just show the label without for a second see through the label? (its very important cause i show and hide labels allot)
My idea(pure speculation):
To set a transparencykey isn't a good idea, maybe there is another way?
I hope i explained it well, if not feel free to ask :)
Hello World 0Posted Jan 19, 2011, 7:55 AM
But its not a great solution..
FroglegPosted Jan 18, 2011, 10:17 PM
If you have found a way great - post your code so we can have a look
Hello World 0Posted Jan 18, 2011, 4:36 PM
I tried your solution but it still blinks..So i deleted all the transparancy and it still didn't work. then i created a label outside the backgroundimage and that label didn't blink.
My guess is that the transparancy is not the problem but the backgroundimage is the problem
But when i delete the backgroundimage and use a regular image that i SendToBack and then use your solution there is no problem.
If you have another idea please let me know cause i would like to use a image with more then one color as background.
FroglegPosted Jan 17, 2011, 10:21 PM
The best that i can come up with is changing forecolor of label eg:
//button1
label1.ForeColor = Color.Black; //etc
//button2
label1.ForeColor = Color.RoyalBlue;// or whatever the background image color is
Hello World 0Posted Jan 17, 2011, 5:54 PM
FroglegPosted Jan 17, 2011, 4:35 PM