Making Transparent, Unclickable Areas In UserControl/pictureBox

Oct 22, 2010

I have a userControl with a picturebox in it. I need the areas of the userControl to be transparent and unclickable on the main form. After some searching Ive come up with this. [URL] but it doesn't seem to work. I have it set up so the usercontrol can be drag-and-dropped. but I dont want transparent areas to be dragable.

View 1 Replies


ADVERTISEMENT

VS 2008 : Making A Picturebox Background Transparent?

Oct 17, 2010

I have a few pictureboxes that move and contain an image of a fish. When they overlap, I would like to be able to see one fish under the other fish.I have made the background (white) of the image transparent in photoshop and the background color of the form seems to show through the background of the fish image, but when 2 fish overlap, ones background covers up the other.

View 1 Replies

Transparent Picturebox As Grid For A Plotting Control (another Picturebox)?

Jan 31, 2011

I need to plot some analog values read from the serial port.I plot them in a picturebox starting from left. When I reach the end of the control at the right side I shift all values to the left of a point and I plot the new point at the right, (I have some flickering but it could be acceptable). This is my plotting control.My problem is that I have to clear the control (picturebox) in order to plot the shifted graph, but the method Clear of the Graphics class clears everything inside the picturebox, even my grid.How can i make always visible a grid "in" my picturebox?

1.a transparent image with a grid over the PB? (the clear method cannot remove it)

2.an image with a grid below the picturebox that must be with a transparent background to make visible the grid?

3.multiple layers on the same picturebox?

View 5 Replies

Usercontrol Transparent And Opacy Habilaty?

Mar 25, 2012

so if vb2010 is so powerfull, why i can't have real Transparency on controls?:i have 1 code for make the usercontrol transparent:

[Code]...

for now, i have 1 problem: the control needs very time to update itself, before shows the image:(

the control stays transparent, but when i move it, the control is slow to show itself transparent:(

View 12 Replies

Activate A Map's Different Areas So As To Be Able To Click These Different Areas?

Jan 30, 2010

I would like to add a picture on my form, e.g., a map of Europe, and i wanna be able to click on UK or France etc. Each country will be programmed in doing something else. What i wanna do for a start is to make my map active so as to can click on these different countries.

View 10 Replies

Make Picturebox Transparent Over Other Picturebox?

Jun 10, 2012

I have two Picturebox and both should be transparent background, but the real problem is both transparent for form background but not over each other .

View 1 Replies

Making A GDI++ Game - Monster(picturebox) To Go After The Player(picturebox)

Jan 14, 2010

Hey I am making a GDI++ game in vb.net. Now what I want is the monster(picturebox) to go after the player(picturebox). There Are No Vertical Walls. Only The Edge of map barriers. For example to get to the player the AI would have to go to the end of the ledge and either jump off and fall to the lower ledge or take the ladder down. There is no jumping, only falling and going up and down ladders and across the horizontal ledges. So How Can I make this pathfinding system?

View 18 Replies

Making A Screensave With Transparent Background?

Aug 20, 2010

I know this may sound really difficult and annoying to complete but all i need is a form which has no borders at all,just some text floating topmost of all screen like a screensaver i tried adding a text but it still has a white background behind it and it looks like a sign instead of Floating Letters with no background at all also note that i dont want a form with a square border around it,because thats what it look like when i added form border style to none

View 3 Replies

Making Container Transparent In .net 2005?

Aug 23, 2011

i have taken some Group Boxes and Panels within my form,

as mentioned now i want to make just transparent these containers

i mean it(container) just hide itself and illustrates its controls and also

it's background containing form.Mohammad Arif Mustafa arif_mustafa@live.com

View 3 Replies

Making Text In A Textbox Transparent?

Jan 19, 2011

I am trying to make some Text in a Textbox become Transparant gradually to the point where it disappears - it this possible in VB08 Express?

View 3 Replies

Devexpress - Making A Call From One Usercontrol To Another Form

Aug 28, 2010

I have a tabcontrol that creates tab pages from a "User Control" I created (a separate form in vb.net) using this code: (MainTab is the separate user control I created which has text boxes etc in it)

Dim tmpTab As New MainTab
myTabControl.TabPages.Add()
Dim tmpTabCount As Integer = myTabControl.TabPages.Count
myTabControl.TabPages.Item(tmpTabCount - 1).Controls.Add(tmpTab)
myTabControl.TabPages.Item(tmpTabCount - 1).Text = "Untitled"

I'm using the devexpress xtratab control so the code might look a bit different than the default vb.net tab control.

Now in my MainTab user control file file, I can't for the life of me figure out how to call a control in the form1 where the xtra tab control is placed on. "Me.Parent.Dispose" works for closing the tab when executed via the MainTab control, but that's as far as I can get for communicating with the parent from.

I'm not sure if I have to reference something in the MainTab user control or what in order to communicate with any objects on the default form1.

View 1 Replies

Making UserControl Popup When Click A Button?

Oct 14, 2010

the title says it all. haha.i'm using Visual Basic 2008 - Office 2007 - addin for pptbasically i want to make it so that when i press a button, the userControl will popup from no where lol. what code do i have to type for this?

View 7 Replies

Making The Border Of A Vb.net Form Semi-transparent?

Jan 8, 2011

Is there any way to embed a vb.net form to another vb.net form. What I am trying to do is to make Form-A semi-transparent and Form-B as the embedded main form. So that the final application has a semi transparent border around it . Also I don't want to use a MDI form.

Edit: How to make the border of a vb.net form semi-transparent without using MDI form.

View 2 Replies

Transparent Picturebox In .NET?

Jun 12, 2011

my problem is simple i'm using VB 2010 and i'm trying to make a transparent images but without success i draw 2 GIF pictures in Photoshop and save it as transparent i put that GIF's in 2 pictureboxes on the form and the background of the pictures is really transparent, but when i try to put one picture in the top of the other one, the first picture cover the second one with the background color (and becuase it's transparent it's like the form color)?

View 10 Replies

C# - Making Rectangle Completely Transparent (Hole In Window) WPF

Feb 7, 2012

I have a rectangle that I dynamically draw in a Window. Said Window has a background with it's opacity set to 0.4. I'd like to make the area inside the rectangle completely transparent (see what's behind the window).

Here is the code of my Window :
<Window x:Class="TakeAScreenzone"
xmlns="[URL]"
xmlns:x="[URL]"
Title="PloofTAS" Height="355" Width="539" Topmost="True"
[Code] .....

View 2 Replies

VS 2010 Making A Transparent, Clickable Button OR Label?

Oct 28, 2011

First post here, so I have no clue if this is the right place to ask this or not, but it looked like it.

Anyways, what I'm trying to do as an exercise is make a roulette game. I decided it would be best to put my buttons ON the actual table itself, so that the player can click which one he wants to bet on, and it'll bring up an Input Box asking how much he wants to bet, and yeah.

So, I tossed a button on there, set the parent to the picturebox of the roulette table, set the back color to transparent, and got rid of the text. Lo and behold, it's transparent!

View 13 Replies

How To Make PictureBox Transparent

Dec 8, 2009

How can I make a picturebox transparent?

View 8 Replies

Show One Transparent Picturebox On Another?

Feb 20, 2009

I have one picturebox on form, with dock fill.I need to show one transparent picturebox on another. How can i do that?Below is sample code, but it is not showing the small picture when i make main picture transparent.I just have to show a rectangle or a circle over the picturebox, for that i am using picturebox. Is there any way other than adding piturebox to do so? or can i make the small picture visible?

[Code].....

View 2 Replies

Transparent Background In Picturebox?

Nov 1, 2011

ok, is there a simple way to make a color in an imported picture in a picutrebox transparent?

View 2 Replies

Transparent Label On Picturebox ?

Sep 7, 2011

I have the most problems and questions.I have a picturebox and a label on it ... how I can do label be transparent on picturebox ? If I choose at color "transparent" show me the color of the form...

View 2 Replies

VS 2010 PictureBox Transparent?

Apr 12, 2010

I know that this question has already been asked million of times, but until now I haven't found a WORKING way to make this to work.I've a Media Player control, and in front of it (for a logo thing), I have a PictureBox, that I want to make transparent. I've tried million of things, but couldn't get it to work.

View 31 Replies

Making A Picturebox Track A Picturebox

Jun 5, 2009

I am making pictureboxes as enemies, and i have a picturebox that that user controls. I want the enemies to move towards the user's picturebox, regardless of their position (Which will be random!).

View 2 Replies

Forms :: Transparent Background Over A Picturebox?

Jan 3, 2009

I have a picturebox with a pic in it, and I have a label on top of the picture.

I want the background of the the label to be transparent, so I set it's background prop to transparent and it's parent to the picturebox. I do this on form load, but for some reason the label entirely disappears once the form loads?

View 7 Replies

Make A Transparent Label Over A Picturebox?

Jun 12, 2009

I have a small picturebox(34x34 pixels) and want to have a transparent label(maybe 12x12 or 15x15 pixels) in the corner of it, which will be used as a counter.

I saw another forums suggesting adding the PictureBox as a parent to the Label, like this:

Label1.Parent = PictureBox1
Label1.BackColor = Color.Transparent
But then the label just disappears, and no text is displayed.

View 8 Replies

Make An Image In A Picturebox Transparent

Feb 14, 2010

I'm trying to make an image in a picturebox transparent, so that i can see and click the controls behind it in the transparent area. This reason for this is that i'm trying to make a hexagonal grid that needs each cell to work independantly of each other when clicked, and needs to include a changing image. I'm trying to do this with pictureboxes, but even though i've made the GIF images i'm using transparent in photoshop, They aren't displayed as such in design view or at runtime, as the corners stay grey. I'm making a clone of the Quiz-show Blockbusters

View 6 Replies

Merging 2 Transparent Images Into A Picturebox?

Jan 17, 2011

I am trying to use GDI+ to merge two PNG's with transparency that I have stored in an ImageList, and then show this in a PictureBox. My PictureBox size, first image size, and second image size are all the same. I thought this would be simple but the following code does not work and I am not sure why. I have searched but I could not find any code snippets specifically dealing with PictureBoxes.

[code]...

At the moment when I click the button I see the PictureBox flicker with the image for a splitsecond.

View 2 Replies

PictureBox With Transparent Overlay Picture?

Jan 14, 2010

I'm working on a UserControl which has two PictureBoxes.One has the picture I want to display to the user and the other has a picture that I use as an overlay.The overlay PictureBox uses a PNG image with a transparent background. However, every time I run the UserControl, the overlay does not display the transparent parts of the PNG image as transparent (It appears white).

View 4 Replies

PictureBox's Don't Support Transparent Backgrounds

Dec 12, 2010

From my understanding PictureBox's don't support transparent backgrounds. What I am trying to do is just have a single picture that needs a transparent background just to be on display with my form. So how do I do this?

View 5 Replies

VS 2005 Semi-transparent For Picturebox

Apr 19, 2010

I need to convert the color as semi-transparent for the picturebox to see something behind the picturebox.... Here, I have a difficult situation. When I set the image color using with the code, none of them are works. So I got them rid it. ARG!!!! I need to find the fact semi-transparent for the picturebox.

View 13 Replies

VS 2005 Use Picturebox As Shockwave Transparent?

Apr 11, 2010

have placed picturebox in front of shockwave control and I can see the picturebox black color. I would like to know how I could use picturebox as shockwave transparent??

View 2 Replies







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