Tai Kamiya Posted September 19, 2012 Author Share Posted September 19, 2012 Hi guys, the title says it all.There's in an way to make the GUI buttons in EO 2.3 close their respective menus just by clicking in them again? Link to comment Share on other sites More sharing options...
SkywardRiver Posted September 20, 2012 Share Posted September 20, 2012 You could just make little close buttons on the top of every menu. Then add some code where, on-click, the menu closes. If you need help doing this just post and I'll help. You could also edit the on-click code for the existing menu. Say you opened INV, then that would make a variable (0) = (1).Then, in the on-click sub, just add an extra 'if' saying if your variable = (1) then close that menu.Hope this helped. Link to comment Share on other sites More sharing options...
Tai Kamiya Posted September 20, 2012 Author Share Posted September 20, 2012 > You could just make little close buttons on the top of every menu. Then add some code where, on-click, the menu closes. If you need help doing this just post and I'll help.Hey bro! Thanks for the reply. And sorry for any english mistake, 'cause I'm brazilian.Well, you mean something like an "X" button in the top of the menu that closes it? Sounds cool! If you can help me doin' the code, I'll be grateful! ^-^Ah! As I said, I'm using EO 2.3! Thanks~ Link to comment Share on other sites More sharing options...
DarkOne5890 Posted September 20, 2012 Share Posted September 20, 2012 I really recommend to switch to eo3.0 or eclipse advanced. Cause they both have what eclipse2.3 has but with weather and other cool stuff. The only thing is that you can't use huge tilisets. Link to comment Share on other sites More sharing options...
SkywardRiver Posted September 20, 2012 Share Posted September 20, 2012 Okay, this should work for 2.3So in frm_Main client side, find your pic_Inventory. (Note: If you move anything (which you will have to) I suggest writing down the x,y position in a txt document for reference on where to place it after your done editing.)After this, make a label inside the Form and have something like an 'X' with an underline or something. after you make it and place it where you want, doubleclick it and put in something like thisPrivate Sub Label6_DblClick(Index As Integer)picInventory.Visible = FalsepicCharacter.Visible = FalsepicSpells.Visible = FalsepicOptions.Visible = FalsepicParty.Visible = FalseBltInventory' play soundPlaySound Sound_ButtonclickEnd SubIf you need more detail let me know. Link to comment Share on other sites More sharing options...
Tai Kamiya Posted September 20, 2012 Author Share Posted September 20, 2012 > Okay, this should work for 2.3> > So in frm_Main client side, find your pic_Inventory. (Note: If you move anything (which you will have to) I suggest writing down the x,y position in a txt document for reference on where to place it after your done editing.)> > After this, make a label inside the Form and have something like an 'X' with an underline or something. after you make it and place it where you want, doubleclick it and put in something like this> > Private Sub Label6_DblClick(Index As Integer)> > picInventory.Visible = False> > picCharacter.Visible = False> > picSpells.Visible = False> > picOptions.Visible = False> > picParty.Visible = False> > BltInventory> > ' play sound> > PlaySound Sound_Buttonclick> > End Sub> > If you need more detail let me know.Hey, I'll test it here and reply with the results!> I really recommend to switch to eo3.0 or eclipse advanced. Cause they both have what eclipse2.3 has but with weather and other cool stuff. The only thing is that you can't use huge tilisets.Sure thing! DirectX8 in Eclipse seems to change it to another level, btw, my computer is too old that have issues with DX8\. lol Link to comment Share on other sites More sharing options...
SkywardRiver Posted September 20, 2012 Share Posted September 20, 2012 Sure thing dude Link to comment Share on other sites More sharing options...
DarkOne5890 Posted September 20, 2012 Share Posted September 20, 2012 Well I have a crappy net book and it works fine with dx8 I am sure yours should work better then mine sense I only have 1g of ram Link to comment Share on other sites More sharing options...
Tai Kamiya Posted September 20, 2012 Author Share Posted September 20, 2012 > Well I have a crappy net book and it works fine with dx8 I am sure yours should work better then mine sense I only have 1g of ramMaaaaaaaybe not. I'm running with a Sempron 3000+, 512MB DDR333 RAM, 16MB SiS Mirage Graphics (I think that it's from the 90's lol) and storing everything in an amazing 40GB IDE. G__G> Sure thing dudeDuuuuuuuuude, worked fine! I'll just have to add this to every "picMenu" and it'll be fine (a close-everything button sounds cools too). My thanks for the fast reply and everything! n_n Link to comment Share on other sites More sharing options...
SkywardRiver Posted September 20, 2012 Share Posted September 20, 2012 Yeah, no problem! Any questions and you can just ask me. Link to comment Share on other sites More sharing options...
Justn Posted September 20, 2012 Share Posted September 20, 2012 > I really recommend to switch to eo3.0 or eclipse advanced. Cause they both have what eclipse2.3 has but with weather and other cool stuff. The only thing is that you can't use huge tilisets.He is new why would u suggest those? 3.0 needs some work and eclipse advanced is well probably too advanced for him to edit things .like gui and stuff… Also both don't work on all computer systems :/If u want another easy way to make the GUI buttons open and close, along with jaxxs way. just add```ElsepicInventory.visible = false```above each End If at the bottom of the cases where the buttons areAnd make sure right under the start of each case they have an "if not picinventory.visiable then"Change picinventory to picoptions, picCharacter, ect. of course as needed.. 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