INSTRUCTIONS TO CREATE THE FIRST FORM

Form will be stored in a file called A:FRMTITLE.FRM: The Form has 4 objects with the following properties: OBJECT PROPERTIES VALUE Form Caption Venus Motors(appears in title bar for the user) Name Frmtitle (appears in Project Window within VB) Window State Maximized (maximizes the Window when the application is run) Label Caption “Venus Motors Sales Are Rocketing” Autosize True (makes the label object the exact size needed as specified by caption & fontsize) FontSize 18 Label Caption “To Number One” Autosize True FontSize 18 Image Picture (Icon) Visual Basic displays picture files for you Name ImgRocket Stretch True In addition, the title form displays a pull down menu: File Open--> Notes Exit Pay Quote We add a menu from the MENU DESIGN WINDOW found on the toolbar: Online demo Thus for the menubar for the title form: CAPTION (As it appears to users) NAME File MnuFile Open MnuFileOpen Notes MnuFileOpenNotes Payment MnuFileOpenPayment Quote MnuFileOpenQuote Exit MnuFileExit We are almost done the title form. We need to program what we want the system to do when the user runs the application. Remember, the user will be using your pull-down menu. What do we want our application to do with the following user command? If the user hits open-notes, we want to display the customer form (which we haven’t built yet) and hide the title form: FRMCUST.SHOW FRMTITLE.HIDE If the user hits open-payment we want to display the payment form and hide the title form: FRMPAY.SHOW FRMTITLE.HIDE If the user hits the open-quote, we want to display the quote form and hide the title form: FRMQUOTE.SHOW FRMTITLE.HIDE If the User hits “End”, we want the program to terminate: END Don’t forget to save your work!!!!!! Save the Project as T4VENUS.VBP Save the Form as FRMTITLE.FRM