Overlaping Pictureboxes

In this forums, you can get help for any programming language.

Overlaping Pictureboxes

Postby Snoopy1968 » Thu Oct 04, 2007 1:44 pm


Quesiton? two overlapping pictureboxes
Window(0)
Window(1)
Window 1 Overlaps Window 0
how to i bring window to the top so it can be seen without making it visiible=false
??
Snoopy1968
imFiles Newbie
imFiles Newbie
 
Posts: 47
Joined: Fri Sep 14, 2007 8:29 pm

Re: Overlaping Pictureboxes

Postby Ghost » Thu Oct 04, 2007 3:08 pm

First of all, don't post two topics about the same thing. I'm sure I put something about it in the rules. If not, still don't do it.

About your question; assuming you're using VB6, try the ZOrder function.

Code: Select all
'On Window(1):
Window(0).ZOrder 0

'If you wanted to bring Window(1) back to the front:
Window(1).ZOrder 0
(10:37 AM) NME: the color of shit is awsome

"Return the sword to its scabbard.
In the place where you were created,
in the land of your ancestry,
I will judge you."

Ezekiel 21:30
User avatar
Ghost
imFiles God
imFiles God
 
Posts: 2130
Joined: Tue Aug 01, 2006 1:52 am

Re: Overlaping Pictureboxes

Postby Departure » Thu Oct 04, 2007 11:57 pm

Right cliock the picture box in VB6 IDE and select .... ummm either "Send to back" or "bring to front" :lol:
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Re: Overlaping Pictureboxes

Postby Snoopy1968 » Sun Oct 07, 2007 1:24 pm

Thanks guys ill try that....... does viisual studio 2005 pro give any advantages over vb6 out of interest vb6 seems to work fine but wonder if there new funcitons
Snoopy1968
imFiles Newbie
imFiles Newbie
 
Posts: 47
Joined: Fri Sep 14, 2007 8:29 pm

Re: Overlaping Pictureboxes

Postby Ghost » Sun Oct 07, 2007 5:43 pm

Oh, did you mean in dev mode or in play mode?
(10:37 AM) NME: the color of shit is awsome

"Return the sword to its scabbard.
In the place where you were created,
in the land of your ancestry,
I will judge you."

Ezekiel 21:30
User avatar
Ghost
imFiles God
imFiles God
 
Posts: 2130
Joined: Tue Aug 01, 2006 1:52 am


Return to Programming Help

Who is online

Users browsing this forum: No registered users and 0 guests