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

How to make a guild button to pull up guild page for Eclipse Origins 2.0?


kruz388
 Share

Recommended Posts

There is always a way to do anything in programming, in a bit I will add examples to this reply on adding buttons to the GUI… one moment please.

Using the form editor in VB6 add a image to frmMain naming it imgButton and change it's index property to the next highest than the existing menu buttons

If you double click on it it will take you to the imgButton_Click sub

in it  you will see a select case structure, go to the bottom of that and just before "End Select" add "Case #"

(# being the number of the index you gave the new button)

under that and still before the "End Select" you want to add the name of your menu/form/screen followed by .visible = true

lastly you want to hide any other menus that would be in the same area as the one you are opening

here is an example that does what you are looking for:

```

Case 9
' show the window'
If Not picQuestLog.Visible Then
UpdateQuestLog

picCharacter.Visible = False
picInventory.Visible = False
picSpells.Visible = False
picOptions.Visible = False
picParty.Visible = False
friendslist.Visible = False
picPets.Visible = False

picQuestLog.Visible = True

' play sound'
PlaySound Sound_ButtonClick
Else
picQuestLog.Visible = False
PlaySound Sound_ButtonClick
End If

```
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...