![]() |
|
[.NET] How could i add new pages to one Form? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] How could i add new pages to one Form? (/showthread.php?tid=115980) |
How could i add new pages to one Form? - AProPowerRanger - Aug 4, 2009 Well i was wondering how i culd add new pages to one form. Like have the main screen, then tabs to click to go to other screens. Also how could i make my toolbar at the top a smalled height. its pretty large right now. ive tried changing it in the properties. it won't decrease in size. - BETAhkr - Aug 5, 2009 Use the Tab Control tool Under "All windows forms" sections [IMG]http://i28.[censored].com/w7esrn.jpg[/IMG] Right click on the 4 way arrow to add more tabs [IMG]http://i32.[censored].com/2py7ptf.jpg[/IMG] - Xdem0 - Aug 5, 2009 BETAhkr, nice to see someone offering more than text for once. hehe Another one i use is panels. Place 1 button and 1 panel. Add this code to your button. (EDIT: select your panel and change visible to false, and the text to show panel) if panel1.visible = true then panel1.visible = false button1.text = "show panel" elseif panel1.visible = false then panel1.visible = true button1.text = "hide panel" Works a treat for small applications ;p - Outline - Aug 5, 2009 Project --> Add form. - BETAhkr - Aug 5, 2009 Austen, He wanted more than 1 form technically on 1 form... More pages even if you will on 1 form, You would be adding more than 1 form. You could do that if you like, use a timer or command button so when they click on it Code Form2.ShowCode Form2.show- AProPowerRanger - Aug 5, 2009 i will remember these methods. Right now i am using the tab method. How do i make that tab direct to another page tho. See in ur project it added the new tab pages. mine didn't. idk y tho. - BETAhkr - Aug 5, 2009 It will make another tab, You click on the other tab and build your next project there. If that is not working If you have team view and MSN, AIM, or Yahoo I can help you more & better with your project. - AProPowerRanger - Aug 5, 2009 never mind. i had to expand the height so it actually makes the tabs page lol. i got it. im makin a host booter. but now it kinda looks like metus so i might stop. its based off of mini dos tho. - BETAhkr - Aug 7, 2009 Good luck, For any other questions, Just ask. |