VB Image - Transparent Parts Dont See Form As Background But Marioland As Background?

Feb 18, 2011

Background of form: black

background of char, bombs and shrooms: transparent

picbox behind char, bombs and shrooms is regular (marioland)

How can i fix it so the transparent parts dont see form as background but marioland as background?

View 12 Replies


ADVERTISEMENT

Transparent Controls Over Form With Background Image Shows Backcolor Not Image?

Sep 18, 2009

I can't remember exactly if this is possible or not but what I am attempting I would think should theoretically be possible. I know it is possible in WPF but the company I am working for doesn't want to make the transition just yet. Basically what I want is to use a background image on a form for the background and I have a docked control on the right and left. I have set the background on both of these docked controls to transparent however it is showing the back color rather than the background image. I tried, rather than setting the background image property, to override the onpaintbackground and onpaint events and use e.graphics.draw(picture, me.clientrectangle) but it still seems to just pick up the backcolor as the true transparent background so I'm wondering if it's possible to get it to show the background image through the control rather than the backcolor of the form?

View 3 Replies

Transparent Background PNG Image In .NET?

Feb 16, 2009

I have inserted PNG image (transparent background) but it can't go to transparent. I want it to be front of other label but it's gray background hide the text what i have to do with this?

View 7 Replies

Png Image Transparent With Video In Background?

Mar 26, 2011

Me again. I also have a png image and a web cam video in my form. I have transparent parts on the png image that show through to the form background colour.

How do I set it so it shows the video in the background, when I put the png image over the top of the video?

At the moment its still shows straight through to the back of the form?

View 2 Replies

Set The Tbox Image Background To Transparent?

Mar 17, 2009

Hiwould like to set the tbox image background to transparent>

[Code]......

View 2 Replies

VS 2005 Image With Transparent Background?

Dec 22, 2009

with a triangle formed object and the rest of the image(background) are transparent... how do i make the transparent area not click able?my code how it is now>

Private Sub PictureBox2_MouseDown1(ByVal sender As Object, ByVal e As MouseEventArgs) Handles PictureBox2.MouseDown
'code for picturebox not start an click event. only if the image will be clicked>>

[code]....

View 4 Replies

Give An Image Inside Of A Picture Box A Transparent Background?

Apr 7, 2008

Is it possible to give an image inside of a picture box a transparent background? Like, for example say i have a red circle on a white background, is it possible to make the white transparent?

View 6 Replies

Transparent Listveiw Or Stretch Listview Background Image?

Apr 15, 2010

I am making an operating system based game in visual basic. The real problem is that the game runs full screen and when it comes to desktop backgrounds I am having heaps of problems.First I had the desktop as just the forms background image but I needed to add icons to the desktop so I anchered a listveiw onto the background and the problem is that the listview is not transparent and you can't see the desktop background.

I thought that I could fix that problem by setting the background image on the listveiw as the background image but the problem is when i set a background image on the listveiw there is no option to stetch the image. The only option is to tile the background image.

How can I get the listveiw either transparent or set it a stretched background. ( the user gets to choose a desktop background so they all need to be able to stretch to the full desktop of the user's screen resolution.)

View 10 Replies

VS 2008 - Picturebox - Remove The Image And Have A Transparent Background

Feb 26, 2010

Im displaying an image in a picturebox when i mouse over a button PictureBox1.Image = (My.Resources. Get_Info_icon) But when the mouse leaves the button how do i remove the image and have a transparent background, so u cant actually see the picturebox ?

View 1 Replies

Programmatically Determine Background Of Image (logos, Etc) And Make Transparent?

May 20, 2011

I'm attempting to write a solution so that my user's can "watermark" their Images with their Company Logo. I've got the actual watermarking part done and working so now I'm creating the "upload logo" feature so that they can provide me with the Logo they wish to appear watermarked onto their Images.I'm using VB.NET and this will probably end up in a Web Service that accepts the Logo JPG file, and returns the "altered" Logo. What I need to happen in this Web Service is:

1) Gray-scale the image. Which I have working as well, thanks to this article.

2) Make the background transparent (so the logo looks clean when watermarked onto an image). This is where I'm stuck.

I think for the most part, any logos that are uploaded will have a generic white background but I can't assume that. Is there a way to somehow detect the background of an image or the background colors, so that I may make those colors transparent?So basically what I need is just a way to determine the background on an Image or even just the background colors so that I may make them transparent.

View 3 Replies

Forms - Background Image Transparent Painted With Custom Linear Gradient

Jun 1, 2012

I try to achieve to paint a form with a gradient backcolor and overlap an image with transparency. This is possible? I want using a tile background image with transparent background and paint the background with a custom linear gradient.

View 2 Replies

2010 Form Background Transparent?

Feb 5, 2011

how can I make my Form background color transparent?just the form those object/text are not included.

I watched this in yout*** like a month ago, i keep on searching but i cannot find.if you want to be happy, find something you love to do and do it for free, then find someone to pay you for it.

View 1 Replies

Resize Form With Transparent Background?

Feb 22, 2012

I am trying to create a simple VB 2008 application with a resizable form that has a transparent background. Seems easy enough to do, but if I do nothing more than create a new Windows form project with one form, set the transparency key on the form to a colour, and then set the background to the same colour, and then run it, after about 3-5 resize operations, I cannot resize the form anymore, except from the top, if even then. No errors, just odd behaviour.

View 16 Replies

Transparent Form Background Not Crisp?

Jul 28, 2009

I have an app that uses transparency so that the background of the app is a custom shape.The problem I am having is the rounded corners are jagged. Not a nice clean rounded corner like you would see on an icon or widget. I have tried several different image types (i.e. PNG, GIF, etc). But it seems when I use the transparency Key the quality on the edges gets worse

View 6 Replies

Winforms Form Transparent Background?

Jun 23, 2012

when i add my form into the picturebox the background color is argb(152, 0, 136)
and i tryied to use TransparencyKey and Still the background color is 152, 0, 136
code:

Dim frm As New Form
frm.BackgroundImage = Image.FromFile(open.FileName)
frm.BackColor = Color.FromArgb(152, 0, 136)

[code].....

View 1 Replies

Forms :: Transparent Form Background Not Crisp?

Jul 28, 2009

I have an app that uses transparency so that the background of the app is a custom shape. The problem I am having is the rounded corners are jagged. Not a nice clean rounded corner like you would see on an icon or widget. I have tried several different image types (i.e. PNG, GIF, etc). But it seems when I use the transparency Key the quality on the edges gets worse.

View 4 Replies

PictureBox Controls In Form With Transparent Background

Dec 31, 2011

I have multiple picturebox controls in my form. Both of them contain an image with a transparent background. I want them to be on top of each other. I've already set their BackColor property to Transparent, but when I place one on top of the other one, the following happens: [URL]. How can I make them transparent while they are on top of each other?

View 4 Replies

Transparent Background Color Borderless Form

Aug 11, 2010

in vb.net. Main form is transparent and I added big picture box to hold background image. Then I added transparent panel to this form but now i can see my desktop trough that form. I don't wanna c my desktop or other windows. How can I avoid this without changing panel background color? coz I want same image as my panel bg too.

View 4 Replies

Transparent Form Background Using Me.TransparencyKey = Me.BackColor?

Apr 6, 2012

I can make the background color of the form transparent by using: "Me.TransparencyKey = Me.BackColor"

"Me.BackColor" is set to default "Control", which I think uses 240;240;240 as the color.But using that color as the transparent mask color leaves gaps in controls who are also using that color.By changing the Me.BackColor to a "rare" color this problem is fixed.What problem really is, is that using the "Control" color I get the ability to ALSO interact with whatever is behind my form, which any other custom color does NOT.

Question: Why is this?

Request: I would like to use a custom color as the transparent color but KEEP the ability to interact with whatever is behind the form, how can I make it do that?

View 1 Replies

VS 2010 Cannot MouseClick On Transparent Form Background?

Jan 30, 2012

I have a form, and the background color of the form is set to the transparency key, making the background of the form transparent. The problem I'm having, is that the form cannot recognize the MouseClick event (when I click on the transparent background of the form). I figured out that the transparent background is triggering this problem. When I shut off the transparency, everything works fine.My question is.. Is there any work around? I still need to use the form to be able to access certain objects that are rendering there, so I don't think I could use something like a "Panel" for example, because the objects will render underneath and possibly make them inaccessible.

View 5 Replies

All Controls On Transparent Background Form Are Black At Start Then Changes Color After Focus

Feb 8, 2009

I have a form with transparent background (using png file).All controls placed over it becomes black at start then they change there color and comes to there original state on MouseHover. Its not the transparency keys problems since the transparency key color is different that controls back color. What can be the problem?

View 5 Replies

Background Image Will Not Switch Back From The Plain Background Color Of "control"?

Feb 19, 2011

what I am trying to accomplish worked with the code in the last thread I posted a while back. I still am using this code, however, I changed the window size to work better and gave it a nicer background for the title screen of my project. Now what I am working on at the moment is making a settings form that has 2 labels. One for "Default" Layout and one for "Plain" layout. When default is at start, the default label is disabled,and when plain layout is clicked, the button is disabled and default button is enabled.Basically, this is a toggle switch for default or plain where if one is enabled, the option for it is disabled and the other is enabled.My problem is that when I switch from Plain back to default, the background Image will not switch back from the plain background color of "control"Here is my code:

Public Class Settings
Private Sub LinkLabel1_LinkClicked(ByVal sender As System.Object, ByVal e As System.Windows.Forms.LinkLabelLinkClickedEventArgs) Handles LinkLabel1.LinkClicked
MiDNiGHT.BackgroundImage = Nothing[code].......

View 6 Replies

Background Image Causes Form To Lag And Flicker?

Jun 3, 2011

I have a 18kb 1024 x768 jpeg image that is set as background image of my form. The problem is the form now lags like crazy. How can I eliminate the lag?

View 1 Replies

Change Background Image In MDI Form

Mar 4, 2009

I want to Change BackgroundImage In MDIFORM in VB.Net and Set Picture.

View 1 Replies

Change The Background Image Of A Form ?

Apr 20, 2012

How do I change the Background Image of a form ? not with the properties I know how to do it from there I guess . but I want to change it with coding .How do I do that ?

edit : and another thing when I try to add an image to a image box it shows me the image error image. you know when it can't load the image. it actually showed it for 1 second and then it disappear .here is the code for the Image box

ptbplayer.ImageLocation = CurDir() & "Images/player.jpg"

View 3 Replies

How To Move Background Image On Form

Jul 1, 2010

How do you move a forms backgroundimage? Like this
picturebox1.left -=1
Is there a way to do this for a forms backgroundimage?

View 9 Replies

Change Form Background With In-project-image?

Nov 5, 2009

Change Form Background With In-project-image

View 1 Replies

Changing Background Image By Shaking The Form

Apr 24, 2011

is there a way to change the background image of a form by just shaking the form? i'm using vb 2010.

View 4 Replies

Form Background - Image Partially Overlays Itself

Jun 22, 2010

I added an image as the background image for a form in VB.net. When I run the program, after approx. 5-6 seconds, the image partially overlays itself, as in an offset overlay of the underlying image. I never had this problem in VB6, but I did have it the other time I used a background image on a form in VB.Net.

View 1 Replies

How To Use Flash Movie As Background Image Of Form

Jan 8, 2011

I want to put a flash movie in my vb.net form as a form background. i want controls like buttons and labels on top of that flash movie.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved