Using An Image As The Background Of A Form
You can use the ImageBox and set the Stretch property to true. Then, in Form_Resize:
VB Code: If Me.WindowState <> vbMinimized ' na na, Chris! :p imagename.Move 0, 0, Me.ScaleWidth, Me.ScaleHeightEnd if
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
How To Set Background Image Of A Form?
hi all,
the subject line tells what my problem is. it may be very easy for all of u vb experts but i am not finding any property of form to set background image. i want to set it for the whole form whether it is maximized or normal. anyone of u who knows this please help me solve the problem.
Remember i dont want to set bakground color! i want background image.
thanx in advance,
ilikevb
Background Image For A Form?
Is there any way that I can use an image as the background of a form?
If so, how can I do it and can I tile it or stretch it?
Any help will be appreciated.
Form Background Image
Hey ive been trying to setup an image that stays on the form through out the whole project. I cant seem to get the picture to stay... any suggestions?
thanks
Form Background Image?
Ok, I have a jpg that is really small, so I want to tile it on the form like is done on webpages and windows wallpaper. I've heard I need to do this with bitblt. What is the easiest way to tile a background image onto a form. Any help or examples are extremely appreciated.
Background Image In MDI Form
Hi All,
I have been trying to put our company logo in our application MDI form, I
added a picture box and put the logo in the image control. But the picture
box occupies the space in the MDI, I wanted it to be as a background, any
suggestion ?
Thanks
JOE
MDI Form Background Image
How do do i add a backround image to replace the gray colour with my own custom image/picture in vb 6.0.?
Background Image On Form (have Searched :)
Sorry i know this question has been answered and i have tried to use the code in the replies but when i try compile i just get invalid outside procedure errors. I'm using visual basic 6, i have a single form and i want a the background to be an image of my choice. Please can someone give me a simple explanation of how this is done before i go crazy.
Thanks
daveB
Stretching A Form's Background Image
Does someone know how to get a form's background image to stretch so it fits the whole form's background?
I searched everywhere in MSDN and the Object library without any luck.
The only way i figured out to do this (without using any APIs is to put an Image control that covers all the form and to stretch the picture that i want inside that image control....but for many reasons i can't use this way.
Resize A FORM Background Image.
does anyone know how to resize a FORM Image? I mean when you setup a PICTURE property in the Form. then run the program and the user hits the maximize button is there a way to make the image stretch to the full screen?
THanks!
Tileing Image As Form Background?
Is this possible? I want a background image for my form, but I want it to be tiled so I don't have to resize the image. Any help appreciated.
Image Dimensions For A Form Background
Hi, maybe I'm missing something but what measurement are a form's width and height in. It's not pixels. I was trying to make an image background for my form using the height and width of the form for the height and width of the image. I thought it was in pixels but it is not. Anyone know what VB dimensions are in? Better yet does anyone know an easy way to calculate an image size for a form?
Thanks in advance.
Form With Background Image And Transparent Controls
I have a form with a background image (image is 104k). All my labels are transparent. The problem is when i load the form i see all the controls display one by one. I inserted Me.SetStyle(ControlStyles.DoubleBuffer Or ControlStyles.UserPaint ControlStyles.AllPaintingInWmPaint, True) after InitializeComponent() but it did nothing more. I want my form to load normally
Thanks in advance!
Stretch Form Background Image - Help Needed
how do u stretch the background image of a form
e.g. your background image original size is say 240 x 360
and your form is 800 x 920 how do you stretch the image to fit the form background
A Form Background Image Doesn't Look Good
Hi, I am using visual basic 6.0.
I wanted to put a background picture (myback.jpg)
in my main form, but the picture doesn't look good
in the form.
If I open the picture in paint, photo editor or whatever
it looks as it is (really nice).
Seems like forms in visual basic don't manage the
depth of colors that the picture has.
How can I do to let forms show the depth of colors
of pictures to make them look good?
Thanks in advance
Roland
Form Background Image Not Filling Bottom Of Screen
Ive got a form that has a background pic on it 1024x768. Normally if i set the forms property to maximised an turn off the borderstyle and taskbar then the picture fills the ENTIRE screen. My code then allows then the border and taskbar to be turned back on (and off again if required). But when the border and taskbar are turned off again, there is a gap at the bottom of the picture. The top of the image never changes but the bottom of the image has lost some of it. Anyone know how to make it full size again?
Ive attached a picture to this post showing what it is like when it doesnt work and ill attach a picture of what its like when i first run it when it DOES work to the next post.
Using A Background Image For A Form Element (button..label Etc)
in Visual Basic .net, when i make a picture the background of a button/text box etc, it will increase the size of the exe for each individual text box...is there anyway to embed the bmp/jpg into the project so that all the text boxes only use that one picture instead of each text box having an individual picture?
for example, if i have 10 objects that use pic.jpg (which is 40 kb), the exe increases by 400 kb.
Anyway that the objects can reference the same file, and increase by 40 kb instead?
Trouble With Creating A Program That's Form And Image Background Trasparent
Hey guys...
I'm trying to make a program that's form transparent so as the image's background (so the program, when you run, you can only see a picture...)
Although I did some research, but it's not either working for me nor what I need.
Somebody could help me kindly? Orz
(Sorry for the bad English)
Make ListBox Background An Image Or Make Background Transparent?
Is there any way I can use the standard listbox and use some sort of bitblt or gdi stuff (i know nothing about those graphical functions) to put an image in the background of the listbox or if that's not possible if i could even make the background transparent and have the picture set as the form's picture?
Thanks in advance!
Background Image
Hi,
How do I control the position of a background image on a Visual Basic form? What I would like to do is improve the look of my form by having a nice image on the left hand side of the form. The same sort of thing that you see during the installation of most softwares.
Thanks
Background Image
How can i get a backrgound image that is max size... stretched!
Background Image
I have a small standalone VB6 program that I have just developed. It now needs to be made to look prettier. I would like to keep the file size down but add a bit of style to the background. Any ideas whether putting a single large jpg on the forms is better practice than individual small ones around the edges and middle of the forms?
The forms are all fixed size but I wonder if doing this could give different effects on different setups?
Sample of PCTools Registry Mechanic interface - I think it is a clean and functional look, I'd like to achieve something like this. How can I style the buttons like this?
Thanks in advance
Image As A Background
How can I set an image to be the background of the form? (I.E. sent to back, so that all controls are still viewable)
I want the image to be resived and strech as the form moves, so if the form as 400 by 400 the image would be to, if the form changes to 500 by 300 then i want the image to change to that too. Any one know how?
Background Image
Hello, I've added an Image in a form and I've made it big enough in order to fit in the form and seem like background. When I run my program everything seems Ok in my computer but when I tried to run it in another computer the image seemed to have become smaller and its position had changed! What's going on?
Image Background!
I am using 5 images in a PictureBox (using If....Else condition). Now when I have a look at the images in any image editor (like MS Paint etc.), I find that the background of all the images are white but when the same images are loaded in the PictureBox one by one, I find that some of the images don't show that white background but some of the images show the white background (all the images are 32X32).
Changing the background color of those images which show the white background in the PictureBox to the Windows system color scheme will not help me because I can't expect all users to use the same Windows color scheme in their machine that I am using. So how do I ensure that the images that show the white background in the PictureBox don't show the white background like how the images that don't show the white background in the PictureBox behave?
Note that I have set the BackColor property of the PictureBox as the Application Workspace.
Thanks,
Arpan
Background Image
does anyone know if the mshflexgrid could have a background graphic? I've found how to load a picture into a cell, but I'd like to put something behind the data.
if that's not possible, then is there anyway to make the flexgrid transparent and place a graphic behind it? maybe someone has a function that will make a control transparent?
thnx
Image Box Background
I need to know how to make the background of a picture or image box transparent. Cause in my game when things move then extra around the pic does not blend in.
Background Image With Buttons?
I've seen several programs that use two background images, one with buttons up and one with buttons pressed. I want to use this method rather than have 2 images for each button but I have no idea how to do this.
I tried searching but don't really even know what to search for. Can anybody help me out?
Blinking Image In The Background
I am using an image control to put a picture in background of form.I have changed the "streatch" property of image control to "True" for resize the picture size and wrote the code for resize the image control size as form size when user resize the form. but the form is blinking when he resize the form.
please I need a solution to solve this problum.
thanks
Directx7, Image As Background
hey, I was learning with loading a 3d car with a small peice of land, which I succeeded with. as I was setting the background color (blue, to look like the sky) I typed this:
.SceneFrame. and as I started typing .SetSceneBackground I saw SetSceneBackground Image. Can you use this to load an image (such as a sky image) to put in a background?
thanks
Background Image For The Sheet.
Hi,
is it possible set a background image for a Sheet? In my sheet I have cell protected and not protected and I have limited (Hidden rows and columns) the size of my Sheet.
Any idea? Thanks.
Giovanni
Background Image Control
I am developing an application using Microsoft Visual Basic 6.0. I need an image control for displaying a background picture of a form, on which other smaller images and shapes (such as circles or lines) are displayed and moved by the user. The problem with the basic VB image control is that its rendering capabilities are not sufficient, and moving other images upon it during runtime results in a very disturbing "flickering" effect.
I thought of using the GTImage ActiveX control, but when I tried to use it I couldn't move it to the background and place other images or shapes on top of it.
Is there any way of doing that using this control ? Are there any other image controls I can use, or any other ideas on how to solve the problem ?
Transparent Background On Image
When i load an image it is a rectangle. But i want the guy in there ( my hero to be visible but whole white background to be transparent so it doesnt looks so ugly...
how can i do this
Set Background Image For Datareport
I have been working on an application that has a few reports that the user can select from and print (Reports Designed in VB's datareport designer). What I am trying to do with the reports is set a background image for the entire report. Is there any way I can do this with the report designer?
Thanks,
CodeHunter
How To Remove Image Background?
Hello.
Lets say i have two pictures, or images, one is behind the other.
They both have white background but i can't see the picture behind because of the background.
For example, when i select an image in 'Paint', i can choose if it will be opaque or not and I choose the 'Not Opaque' and it works.
How do i remove the image background so i can see the picture behind?
Look at this:
http://farspic.com/files/9atm9j87dzyy4cwkf0ei.jpg
10k u
Setting Background Image
is it possible to set my desktop background automatically, given only a image weblink..
e.g,
www.site.com/image.png
first the program would have to download that right? and then use API calls to set the image as desktop background?
has anyone ever done this?
Image Background Not Transparent ?!?!
I've got a small jpeg, which is basically a word saying "Approved", which is at an angle of 30 degrees.
Originally the backcolour was white, so I loaded it into Photoshop and made the background transparent.
When I load the picture into either an image or picturebox control in VB6, I still have the word with a white background as opposed to a transparent background.
How do I make VB realise that the background is transparent, as I want to overlay it on some labels ?
Or can this not be done ?
Any help much appreciated ...
Background Image To SSTabs
ok. i have created some SSTabs in VB6 and was wandering how i can get a background image instead of the grey.
http://img354.imageshack.us/img354/987/example0ft.jpg
is what it looks like, i want to be able to replace the grey with an image. how can i go about this? anyone?
thanks in advance
Viper-Inc
|