Solved

BackColor covers picture in picture box

Posted on 2001-07-16
4
245 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
Comment Utility
look at the .autoredraw property to make the background image persistent.

0
 
LVL 8

Expert Comment

by:glass_cookie
Comment Utility
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
Comment Utility
Change the background and then reload the picture

Have AutoRedraw = True

Vin.
0
 
LVL 1

Expert Comment

by:superchook
Comment Utility
Thank you
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Help in WHSCRIPT 9 41
Validating VB6 Function 19 49
Windows 10 start screen issues 9 47
String manipulation in Visual Basic 7 43
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now