kruz388 Posted October 11, 2013 Author Share Posted October 11, 2013 I was wondering if there is a way to make a button on the in game menu to pull up the guild page? And if so how please?Also was wondering if there was a way to add a way to lvl guild and such? Link to comment Share on other sites More sharing options...
RyokuHasu Posted October 11, 2013 Share Posted October 11, 2013 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 buttonsIf you double click on it it will take you to the imgButton_Click subin 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 = truelastly you want to hide any other menus that would be in the same area as the one you are openinghere 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now