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

[EO]How to make a Menustone and use esc to open it!


Growlith1223
 Share

Recommended Posts

Hello and welcome to my tutorial of how to make a menustone!
Let's get started.

First!
open up your client and go into the code of frmMain and look for
```
Select Case KeyCode
    Case vbKeyEsc

```now replace it with
```
Case vbKeyEscape
        If picMenustone.Visible = False Then
            picMenustone.Visible = True
        Else
            picMenustone.Visible = False
            picInventory.Visible = False
            picParty.Visible = False
            picCharacter.Visible = False
            picSpells.Visible = False
            picOptions.Visible = False
        End If

```and then!
go to the object veiwer and add a picture box and call it picMenustone.
ok here is how to make it so if you click on a label, it closes all pics down and opens the one designated to that label.
add a label and name it something like lblInventory
and double click it and add this in:
```
If picInventory.Visible = False Then
      picInventory.Visible = True
      picCharacter.Visible = False
      picSpells.Visible = False
      picOptions.Visible = False
      picParty.Visible = False
End If

```And so  forth on all the other labels,
NOTE:You can modify this how ever you like.

NOTE2:I will post a screenshot of what it looks like so no one gets confused.

sincerely,
Growlith1223
Link to comment
Share on other sites

I dont really think this can be called a tutorial…. All you told us how to do is to make a box come up in front of the game when you press escape. You didnt tell how to make any buttons or to prevent player from moving or anything useful.

Im not saying it is a waste of space, just its basic without any expansion.
Link to comment
Share on other sites

@Fragment:

> I dont really think this can be called a tutorial…. All you told us how to do is to make a box come up in front of the game when you press escape. You didnt tell how to make any buttons or to prevent player from moving or anything useful.
>
> Im not saying it is a waste of space, just its basic without any expansion.

[
![](http://sphotos.xx.fbcdn.net/hphotos-ash4/s320x320/422199_1891881514872_1776560095_940309_1938532470_n.jpg)
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...