Designing About Form for MS-Access Project
Your Microsoft Access Application development process is complete and ready to install for the User. At this stage you may design a small form known as About Form for your Project. About form will display the customized Logo and the name of the Project, Version Number, Copy Rights information and other details, which you may wish to include on the form.
Sample About Form image of Windows Live writer Application is given below:
Designing an About Form is easy. You need two Label controls to display the Application Name & Current Version Number, one Textbox to display the Copy Rights information. If you have designed a Logo, to give a unique identity to your Application, then that also can be included on the About Form.
Let us design such a small About Form, to know what it takes to create one with a simple Logo. Our sample About Form in design view is given below for reference.
I have designed a simple logo in MS-Word, captured a screenshot of it, modified in MS-Paint and saved as a .bmp file.
- Open your Microsoft Access Application.
- Create a new Blank Form.
- Set the Width Property value of the Form to 3.93″.
- Click on the Detail Section of the Form to select it.
- Set the Height property value to 1.53″.
- Insert an Image control at the left side of the Form and select the Project Logo image from your computer. You may select the the Picture Property of the Image control and click on the build (…) button to browse and select the logo image from your computer, if you wish to change the image later.
- Set the Image property values as given below:
- Picture Tiling : No
- Size Mode : Zoom
- Picture Alignment : Center
- Picture type : Embedded
="Copyright " & Chr$(169) & Year(Date()) & " All Rights Reserved".
- Border Style : Transparent
- Text Align : Center
- Enabled : No
- Locked : Yes
- Tab Stop : No
- Change the Name property value to cmdOK.
- Change the Caption property value to OK.
- Click on the Event Tab of the property sheet.
- Select the On Click property and select [Event Procedure] from the drop-down list.
- Click on the Build (…) button to open the VBA Module with the empty procedure start and end lines.
- Copy the middle line of the Code given below and paste the line in the middle of the start and end lines of the VBA procedure (Private Sub cmdOK_Click() . . . End Sub). Or copy all the three lines and paste it, overwriting the existing lines in the VBA Module.
Private Sub cmdOK_Click() DoCmd.Close End Sub
When the User clicks on the Command Button the above Code will run and the About Form will be closed.
Save the Form and rename it as About or frmAbout.
As you can see the Form needs changes to make it’s appearance like a real About Form. Let us do that to give it the final touches.
- Caption : About <your Project name here>
- Pop Up : Yes
- Modal : Yes
- Default View : Form View
- Allow Form View : Yes
- Auto Center : Yes
- Auto Resize : Yes
- Fit to Screen : No
- Border Style : Dialog
- Record Selectors : No
- Navigation Buttons : No
- Dividing Lines : No
- Scroll Bars : Neither
- Control Box : Yes
- Close Button : No
- Min Max Button : None
Image of the completed About Form in normal view is given below.
You must add a option in your Customized Menu of your Project to enable the User to open the About Form, if he/she wish to do so. Or you may add a Command Button on the Main Form of your Project to open the About form.