Jumbofile Posted July 20, 2012 Author Share Posted July 20, 2012 How do i make it so when i open the map editor the buttons (ex: inv button and spells button)disappear. Link to comment Share on other sites More sharing options...
abhi2011 Posted July 20, 2012 Share Posted July 20, 2012 Just hide the GUI. Make everything invisible.picname.visible = falsein frmMain Link to comment Share on other sites More sharing options...
eltony Posted July 20, 2012 Share Posted July 20, 2012 @TheChoosenOne:> Just hide the GUI. Make everything invisible.> > picname.visible = false> in frmMainno Link to comment Share on other sites More sharing options...
abhi2011 Posted July 20, 2012 Share Posted July 20, 2012 y? Link to comment Share on other sites More sharing options...
Jumbofile Posted July 20, 2012 Author Share Posted July 20, 2012 I still need help with this. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted July 21, 2012 Share Posted July 21, 2012 ``` picInventory.Visible = False picCharacter.Visible = False picSpells.Visible = False picOptions.Visible = False picParty.Visible = False``` Link to comment Share on other sites More sharing options...
abhi2011 Posted July 21, 2012 Share Posted July 21, 2012 Isn't that what I said? Link to comment Share on other sites More sharing options...
Jumbofile Posted July 24, 2012 Author Share Posted July 24, 2012 Were do i put that code. Link to comment Share on other sites More sharing options...
or3o Posted July 24, 2012 Share Posted July 24, 2012 just add an option button in your map editor name it opthide then double click it and paste this``` ' If debug mode, handle error then exit out If Options.Debug = 1 Then On Error GoTo errorhandler If opthide.Value Then picInventory.Visible = False picCharacter.Visible = False picSpells.Visible = False picOptions.Visible = False picParty.Visible = False End If ' Error handler Exit Suberrorhandler: HandleError "optHide_Click", "frmEditor_Map", Err.Number, Err.Description, Err.Source, Err.HelpContext Err.Clear Exit Sub```That gives you the option of turning them off while your mapping Link to comment Share on other sites More sharing options...
Jumbofile Posted July 24, 2012 Author Share Posted July 24, 2012 how would i maketxtmychat imghpbar and imgmpbar dissappear Link to comment Share on other sites More sharing options...
tslusny Posted July 24, 2012 Share Posted July 24, 2012 include txtmychat.visible = false and others too Link to comment Share on other sites More sharing options...
abhi2011 Posted July 24, 2012 Share Posted July 24, 2012 Wouldn't it be better when the map editor is shown? Link to comment Share on other sites More sharing options...
or3o Posted July 24, 2012 Share Posted July 24, 2012 Its not really better or worse just a preference i guess lol, i suppose in frm main you could just make it say if frmmapeditor is visible then the other stuffs visible is false i just added it as an option because what if one day you wanna map but see what it will look like in game when all the menus are up? Link to comment Share on other sites More sharing options...
abhi2011 Posted July 24, 2012 Share Posted July 24, 2012 I geuss your right. Link to comment Share on other sites More sharing options...
Jumbofile Posted July 24, 2012 Author Share Posted July 24, 2012 Compile error : not defined``` picInventory``` Link to comment Share on other sites More sharing options...
erkro1 Posted July 24, 2012 Share Posted July 24, 2012 @Jumbofile:> Compile error : not defined> ```> picInventory> ```Do you have a picInventory on your frmMain?Also, try adding frmMain. in front of it (so like frmMain.picInventory) Link to comment Share on other sites More sharing options...
Jumbofile Posted July 24, 2012 Author Share Posted July 24, 2012 How do i make it show when i close the map editor Link to comment Share on other sites More sharing options...
abhi2011 Posted July 25, 2012 Share Posted July 25, 2012 Add```picInventory.Visible = True picCharacter.Visible = True picSpells.Visible = True picOptions.Visible = true picParty.Visible = True```in the close event of the map editor.Also if you have hidden anything else do name.visible = true 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