MS Developer Applications
Forum Home
Messages
Chat
Files
Channel
- Other WUGNET Forums-
CS Information Desk
Virus Central Support
Windows Support
Windows XP Pro/Server/2000/NT Support
PC Hardware
Laptop Computing
MS Internet Explorer
Office
Windows Entertainment
Vintage Computing
Windows Shareware
Prospero Blocks
Hot Searches
'American Idol'
Presidential Race
Tax Rebates
Rob Lowe
NASA
Chat Center
Access Conference Room
Topic: Access
Board Folders
Misc. Tech Que...
2346 msgs in 552 dscns
Latest: Jul-6
Access Databas...
1194 msgs in 247 dscns
Latest: Oct-27
Access Forms/R...
3425 msgs in 749 dscns
Latest: Nov-1
Access Code/Ma...
2335 msgs in 550 dscns
Latest: Sep-24
Access Roundtable
851 msgs in 199 dscns
Latest: 5/17/09
SQL Server/Que...
1044 msgs in 248 dscns
Latest: Oct-15
.NET Programming
838 msgs in 197 dscns
Latest: 3/18/09
VB/VBA Program...
1081 msgs in 270 dscns
Latest: Nov-3
VFP/Fox:Lang/D...
4508 msgs in 740 dscns
Latest: Nov-16
VFP/Fox:Forms/...
2396 msgs in 423 dscns
Latest: Nov-4
VFP/Fox:Data/D...
1697 msgs in 277 dscns
Latest: Sep-7
VFP/Fox:Report...
1815 msgs in 397 dscns
Latest: Oct-6
Delphi/Kylix/P...
896 msgs in 86 dscns
Latest: 1/23/07
Breakpoint Cha...
1855 msgs in 119 dscns
Latest: 4/12/09
Message Area
To list
New
Prev
Next
VB/VBA Programming
image control zorder
Subscribe
Print Discussion
#1
of 7
Posted
Nov-1 1:32 AM
From
B.Krein
Posts
69
Last
Nov-3
To
All
[Msg # 25198.1 ]
I have an issue where i have an image control which I am flashing on my screen. The issue I am having is that a testbox is in the same area as the image and I cannot seem to change the zorder of the image or text box such that the image is in front of the text box. Is there a way to make the image cover the text box control? Thanks
Options
Reply
#2
of 7
Posted
Nov-1 7:35 AM
From
Peter Janssen
Posts
152
Last
Nov-16
To
B.Krein
[Msg # 25198.2
25198.1
]
Hi B,
>>Is there a way to make the image cover the text box control?<<
Image.ZOrder only works for image controls, so it is only usefull if you have several image controls on a form.
Either use a picturebox control or set the .Visible property of the text control to False
Regards, Peter
Options
Reply
#3
of 7
Posted
Nov-1 12:10 PM
From
B.Krein
Posts
69
Last
Nov-3
To
Peter Janssen
[Msg # 25198.3
25198.2
]
My issue with using a picture box is that I do not know how to have an irregular shaped image. For instance when using the image control I populate it with a picture of a STOP sign and use a .GIF file so I can make all of the corners transparent. This way the portion of the screen that it hides is just the shape of the stop sign. Can I do this same thing with a PictureBox? Thanks
Options
Reply
#4
of 7
Posted
Nov-1 2:44 PM
From
Peter Janssen
Posts
152
Last
Nov-16
To
B.Krein
[Msg # 25198.4
25198.3
]
>>This way the portion of the screen that it hides is just the shape of the stop sign.<<
Try using the .Visible property of the textbox control instead.
Here's an example:
Private Sub ShowImage(boo As Boolean)
'Show only Image1 or Text1
'True = show Image1, False = show Text1
Image1.Visible = boo
Text1.Visible = Not boo
End Sub
Regards, Peter
Options
Reply
#5
of 7
Posted
Nov-1 10:19 PM
From
B.Krein
Posts
69
Last
Nov-3
To
Peter Janssen
[Msg # 25198.5
25198.4
]
Thanks, that would work if the entire textbox was under the stop sign, but I actually have a number of text boxes in the area and some are partially blocked so it looks a little strange when I do this. I take it from your reply that you cannot use the transparent background on a picture box like you can on an image box? Thanks for the suggestions
Options
Reply
#6
of 7
Posted
Nov-2 4:28 PM
From
Peter Janssen
Posts
152
Last
Nov-16
To
B.Krein
[Msg # 25198.6
25198.5
]
>> I take it from your reply that you cannot use the transparent background on a picture box like you can on an image box?<<
Well, it can be done but it needs some coding.
What if you put all the textboxes into a Frame control, set the Frame.BorderStyle = 0 and use the Sub ShowImage() given earlier to display either the image or the textboxes.
Regards, Peter
Options
Reply
#7
of 7
Posted
Nov-3 12:50 AM
From
B.Krein
Posts
69
Last
Nov-3
To
Peter Janssen
[Msg # 25198.7
25198.6
]
thanks, that could work I was just hoping there was a way to bring the image to the front. I see if I can rearrange some of the controls to get what I am looking for. Thanks for the help
Options
Reply
Subscribe
Print Discussion
VB/VBA Programming
image control zorder
To list
New
Prev
Next
Adjust text size:
8
9
10
11
12
14
16
18
24
36
Interest level
:
High
Neutral
Ignore
Welcome, Guest
Post a message
New messages to you
Log in
Find messages
Advanced Search
Prospero Blocks
Web Offers
Find:
Criminal Record Check
Astrology Chart
Hybrid Cars
6 Figure Jobs
Social Security Numbers
Death Records
Special Offers
Show me more info on:
Astrology
Stock Tips
Local Jobs
Vacations
Flowers
Cheap RX
Vacation
Mini iPod
Finding People
Find a Date
White Pages
Reverse Lookup
Cell Phone Numbers
Unlisted Numbers
E-mail Addresses
Background Checks
People Finder
Fine Old Friends
Family Tree
Cool Clicks!
Unclaimed Cash
Free Cell Phones
Energy Boost
Party Planning
Photo Sharing
Work From Home
Video Games
BloggingStocks
Horoscope Updates
Adult (18 & Over)
© 2009 CompuServe Interactive Services, Inc. All rights reserved.
Legal Notices
|
Privacy Policy