Jacquelinett Posted April 22, 2011 Author Share Posted April 22, 2011 hi, how do i add more imgbutton? the one that u click and picInventory appear. Link to comment Share on other sites More sharing options...
aaaron Posted April 22, 2011 Share Posted April 22, 2011 You can (1) Copy and Paste the other buttons, and just name it the one you want, or (2) create a new pic box and name it what you want. Link to comment Share on other sites More sharing options...
Jacquelinett Posted April 22, 2011 Author Share Posted April 22, 2011 okay, and how do i add picture to it? (i know how to but just to make sure because i keep getting error whenever my mouse is over the picture) Link to comment Share on other sites More sharing options...
Conra Posted April 22, 2011 Share Posted April 22, 2011 In properties -> image. Link to comment Share on other sites More sharing options...
Jacquelinett Posted April 23, 2011 Author Share Posted April 23, 2011 yes i know about that. but everytime my mouse is over the imgbutton, it crashed because it doesnt have a _hover and _norm and _click for it. i tried to create one but still didnt work Link to comment Share on other sites More sharing options...
aaaron Posted April 23, 2011 Share Posted April 23, 2011 You still have to load the pictures.You need to find the part where it loads the graphics, then add the 3 images you have. Link to comment Share on other sites More sharing options...
Jacquelinett Posted April 23, 2011 Author Share Posted April 23, 2011 where is it exactly? i cant find it @.@ Link to comment Share on other sites More sharing options...
aaaron Posted April 23, 2011 Share Posted April 23, 2011 Open up "modGeneral" and hit CTRL+F to find this:```frmMain.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\main.jpg")```Just add these codes under 'main under Public Sub loadGUI, and change the "yourbutton_norm" to your file:```frmMain.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\yourbutton_norm")frmMain.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\yourbutton_hover")frmMain.Picture = LoadPicture(App.Path & "\data files\graphics\gui\main\yourbutton_click")``` 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