Visual Basic 6.0 - How to create a Slide Menu
|
|
|
|
| Articles Reviews Visual Basic | |
| Written by John D. Conway | |
| Thursday, 15 March 2007 | |
|
{mos_sb_discuss:39} This article shows how to save space by creating a Slide Menu.
You'll need: Step 1 Open Visual Basic and choose: Standard EXE. We should have a form in front of us named Form1. Stretch the form to the right. Place a Frame on the form1 and resize the frame so it resembles the image below. Step 2 Place a PictureBox onto Frame1 so that it's inside of the Frame. If in doubt - Try to move the PictureBox out of the Frame. If it will not allow you to move outside the Frame then I say we're in business. If it does move out of the Frame - just right click on the PictureBox and Cut - left click the Frame and then paste the PictureBox onto the Frame. You should have something that looks like the image below. Step 3 Go to your toolbox and just start clicking away until you have 15 textbox(s). Now would be a good time to stretch Frame1 and Picture1. Place the TextBox(s) to resemble the image below. When you have them placed - Hold down the shift key and left click each textbox. When you have all the TextBox(s) selected - right click and Cut - Now left click the PictureBox and Paste the TextBox(s) This will place the TextBox(s) in the PictureBox. Steps 4 and 5 Now it's time to add the second Frame and a VScroll. Go to the ToolBox and Double Click on the Frame Control and Vscroll. You should now see one of each in the center of your form. Stretch the Frame (Frame2) to cover (Frame1, PictureBox1 and TextBox(s)) and move VScroll1 to the right of your form. Refer to the image below. Now - Right click on Frame2 and choose Send to Back. Powered by jReviews |
|
| Last Updated ( Thursday, 07 June 2007 ) | |
| < Prev | Next > |
|---|










