Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[EO] HP/MP/EXP Over PicScreen


Irhymer
 Share

Recommended Posts

Hey, I finally decided to mess around with EOv2.0 while waiting to build my game in PV. But when I jumped in to edit the GUI I ran into a (probably easy) problem.

Whenever I moved picture boxes like HP/MP/EXP over the picscreen they would go under the pile of objects. Even when I hit 'bring to front' nothing changed. I was wondering If anyone could help me out with getting this to work please?

Thanks in Advanced,  ;)
-Jake
Link to comment
Share on other sites

Thanks alot, I'll mess around with it. I just need to change the 'picHP' part to whatever item its ordering right?
Oh and does 0 represent the top? As in if I want Hp/Mp/Exp to be on top, would it be ex:

```
picHP.zOrder(0)
picMP.zOrder(1)
picEXP.zOrder(2)
```
? or just all set to 0?
Link to comment
Share on other sites

@[Jake:

> link=topic=70260.msg755921#msg755921 date=1300588416]
> Thanks alot, I'll mess around with it. I just need to change the 'picHP' part to whatever item its ordering right?
> Oh and does 0 represent the top? As in if I want Hp/Mp/Exp to be on top, would it be ex:
>
> ```
> picHP.zOrder(0)
> picMP.zOrder(1)
> picEXP.zOrder(2)
> ```
> ? or just all set to 0?

zOrder only accepts two numbers. 0 = set to (very) front, and 1 = set to (very) back. So your code is:

```
[code]picHP.zOrder(0)
picMP.zOrder(0)
picEXP.zOrder(0)[/code]
```
Link to comment
Share on other sites

@Soul:

> zOrder only accepts two numbers. 0 = set to (very) front, and 1 = set to (very) back. So your code is:
>
> ```
> [code]picHP.zOrder(0)
> picMP.zOrder(0)
> picEXP.zOrder(0)[/code]
>
> Haha yea, I noticed that from trial and error.
> --------------------
>
> Well, I did this and It managed to move the img over the 100/100 label, but not the actual screen:
> [quote]
> Private Sub imgEXPBar_Click()
> imgEXPBar.ZOrder (0)
> End Sub
>
> Private Sub imgHPBar_Click()
> imgHPBar.ZOrder (0)
> End Sub
>
> Private Sub imgMPBar_Click()
> imgMPBar.ZOrder (0)
> End Sub[/quote]
> Not sure if those are in right. But after it didn't work, I did the same for the picscreen/bank etc, but set those to ZOrder (1) so it would go under, but still nothing..
>
> What am I doing wrong?  :huh:
> ```
Link to comment
Share on other sites

Still not working no matter where I put it:
```
imgHPBar.ZOrder (0)
    imgMPBar.ZOrder (0)
    imgEXPBar.ZOrder (0)
    picScreen.ZOrder (1)
    picTrade.ZOrder (1)
    picBank.ZOrder (1)
```
I tried placing it here:
```
Public Sub loadGUI(Optional ByVal loadingScreen As Boolean = False)
Dim i As Long
```And got defining errors. Then here:

```
Private Sub Form_Load()
```It compiled and placed the Bars over the labels but never over the picScreen.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...