Application developed with Access 2002, Part 2.


2nd Step,  Book Form - Part 1.


Operations:

  1. Create Book
    From the KJV2002:Database dialog box displays, Choose and Click The Tab - Forms and then click New.
    From the new dialog box - New Form displays, Select Design Form and then click Open
    The Form Design displays, From the File menu click Save, the new dialog box - Save as displays, Type Book (name form) and then click Ok
    Add controls to the Book form
  2. Modify Book
    From the KJV2002:Database dialog box displays, Choose and Click The Tab - Forms, Select Book and then click Design.
    Use the Toolbox to add new control
    From the View menu click Code, to Add the Code

 

 Book design, - Part 1.

 




  .

..  


 

Note:
For this application, the available References

From Tools menu of Visual Basic (the Code) click References, check the references comptible with this figure
 

 

  1. Book Object and controls - Part 1.
    1. The Book, Form Properties:
      default View:
      Auto Center:
      Min Max Buttons:
      Navigation Buttons:
      Pop Up:
      Modal:
      On Open:
      Single Form
      Yes
      None
      No
      Yes
      Yes
      (Event Procedure)


    2. Add the files :
      From the ...\A2002 Html\Pic folder copy the followihg files:
      1. The (GIF Image) forum.gif ,  file  to the folder C:\A2002\res .
      2. The (GIF Image) Christus-th.gif  file to the folder C:\A2002\ res
    3. Add the following controls, from the Toolbox :
      Two Images, six Labels, six Command Buttons
      , one rectangle and one Tab Control
      1. Add the Image - Image1 Properties:
        Use the Image control to display a graphic. An Image control can display a graphic from a bitmap, icon, or metafile, as well as enhanced metafile, JPEG, or GIF files.
        Name:
        Picture:
        Visible:
        Image1
        (none)
        Yes


        No
        te:
        The image1
        displays the file forum.gif , stored in the folder C:\A2002\res

      2. Add the Image - Image2 Properties:
        Use the Image control to display a graphic. An Image control can display a graphic from a bitmap, icon, or metafile, as well as enhanced metafile, JPEG, or GIF files.
        Name:
        Picture:
        Visible:
        Image2
        (none)
        Yes


        No
        te:
        The image2
        displays the file Christus-th.gif , stored in the folder C:\A2002\res

      3. Add the Label - Label2 Properties:
        A Label control is a graphical control you can use to display text that a user can't change directly.
        Name:
        Caption:
        Font:
        Label2
        Record Data Boxes
        Times New Roman, Bold, Und..., size = 9


      4. Add the Label - lbBook Properties:
        A Label control is a graphical control you can use to display text that a user can't change directly.
        Name:
        Caption:
        Font:
        lbBook
        Book : 01 Title : Genesis
        Times New Roman, Bold, size = 9


      5. Add the Label - lbchapter Properties:
        A Label control is a graphical control you can use to display text that a user can't change directly.
        Name:
        Caption:
        Font:
        lbchapter
        Chapter : 001 Verse : 001
        Times New Roman, Bold, size = 9


      6. Add the Label - lbTextData Properties:
        A Label control is a graphical control you can use to display text that a user can't change directly.
        Name:
        Caption:
        Font:
        lbTextData
        TextData
        Times New Roman, Bold, size = 9


      7. Add the Label - lbrecordno Properties:
        A Label control is a graphical control you can use to display text that a user can't change directly.
        Name:
        Caption:
        Font:
        lbrecordno
        Rec 32000
        Times New Roman, Bold, size = 9


      8. Add the Label - Label3 Properties:
        A Label control is a graphical control you can use to display text that a user can't change directly.
        Name:
        Caption:
        Font:
        Label3
        Search ...
        Times New Roman, Bold, Und..., size = 9


      9. Add the Command Button -CmdFirst Properties:
        Use a CommandButton control to begin, interrupt, or end a process. When chosen, a CommandButton appears pushed in and so is sometimes called a push button.
        Name:
        Caption:
        On Click
        CmdFirst
        First
        (Event Procedure)


      10. Add the Command Button -CmdPrevvious Properties:
        Use a CommandButton control to begin, interrupt, or end a process. When chosen, a CommandButton appears pushed in and so is sometimes called a push button.
        Name:
        Caption:
        On Click
        CmdPrevious
        Previous
        (Event Procedure)


      11. Add the Command Button -CmdNext Properties:
        Use a CommandButton control to begin, interrupt, or end a process. When chosen, a CommandButton appears pushed in and so is sometimes called a push button.
        Name:
        Caption:
        On Click
        CmdNext
        Next
        (Event Procedure)


      12. Add the Command Button -CmdLast Properties:
        Use a CommandButton control to begin, interrupt, or end a process. When chosen, a CommandButton appears pushed in and so is sometimes called a push button.
        Name:
        Caption:
        On Click
        CmdLast
        Last
        (Event Procedure)


      13. Add the Command Button -CmdAbout Properties:
        Use a CommandButton control to begin, interrupt, or end a process. When chosen, a CommandButton appears pushed in and so is sometimes called a push button.
        Name:
        Caption:
        On Click
        CmdAbout
        About
        (Event Procedure)


      14. Add the Command Button -CmdClose Properties:
        Use a CommandButton control to begin, interrupt, or end a process. When chosen, a CommandButton appears pushed in and so is sometimes called a push button.
        Name:
        Caption:
        On Click
        CmdClose
        Close
        (Event Procedure)


      15. Add the Tab control -TabCtl1 Properties:
        Use to create a tabbed form with several pages or tabbed dialog box.You can copy or add other controls onto a tab control. Right-click on the Tab control in the design grid to modify the number of pages, the page order, the selected page’s properties, and the selected tab control properties.
        Name:
        Style:
        On Click
        TabCtl1
        Tabs
        (Event Procedure)


      16. Add the Rectangle -Box1 Properties:
        Use for graphic effects such as grouping a set of related controls on a form, or emphasizing important data on a report.
        Name:
        Visible
        Box1
        Yes



Previous
  Home
2
 
Next