Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

BackColor covers picture in picture box

Posted on 2001-07-16
4
249 Views
Last Modified: 2012-08-13
Hi,

In the application I'm working on, I have a picture box. The back color in design time is white. I give the user the opportunity to place a picture in the picture box, and then change the background color with common dialog box. The problem is that the "backColor" covers the picture! why??? and how do I prevent that?
0
Comment
Question by:meravkn
  • 2
4 Comments
 
LVL 1

Expert Comment

by:superchook
ID: 6288629
look at the .autoredraw property to make the background image persistent.

0
 
LVL 8

Expert Comment

by:glass_cookie
ID: 6288835
How about trying to use an image control with it's border set to 1?

That's it!

glass cookie : )
0
 
LVL 4

Accepted Solution

by:
VincentLawlor earned 50 total points
ID: 6288955
Change the background and then reload the picture

Have AutoRedraw = True

Vin.
0
 
LVL 1

Expert Comment

by:superchook
ID: 6292237
Thank you
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question