>>>Hi
>>>
>>>In VFP we have a setting for for a image control:
>>>
>>>BackStyle = 1 (transparent)
>>>
>>>This makes the white background of any image transparent only showing the other coloured parts.
>>>
>>>What is the property/setting in NET to set, to get the same effect so that the background is transparent?
>>>
>>>Thanks
>>
>>I think the solution is to use a format with an alpha channel, like png.
>
>
>Ok I can do that. So you are saying there is no property in NET like there is in VFP, that I can set, that will make the backgroung transparent - No BMP, JPG etc. just gif and Png?
Just found another way Bitmap.MakeTransparent
http://msdn2.microsoft.com/en-us/library/system.drawing.bitmap.maketransparent.aspxHaven't tried it but it might work for you.
I keep hoping that someone with more .NET experience than me will jump in and confirm this but that's what I know of for now.