Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
CHAPTER 7 ■ CREATING A CHECKOUT FORM 10. Drag the CategoryDescription control to the first cell in the fourth row. Drag the MediaDescription control to the second cell. Drag the LoanPeriod control to the fourth cell. Again, its label should move to the third cell. 11. Drag the Description control to the fifth row. Merge all the cells on this fifth row into a single cell. Modifying the Form Design Next you’ll perform some cleanup, removing unused cells and setting an appropriate cell height. 1. 2. Remove all of the empty rows. Select one of the controls in the layout and click the. | CHAPTER 7 CREATING A CHECKOUT FORM 10. Drag the CategoryDescription control to the first cell in the fourth row. Drag the MediaDescription control to the second cell. Drag the LoanPeriod control to the fourth cell. Again its label should move to the third cell. 11. Drag the Description control to the fifth row. Merge all the cells on this fifth row into a single cell. Modifying the Form Design Next you ll perform some cleanup removing unused cells and setting an appropriate cell height. 1. Remove all of the empty rows. 2. Select one of the controls in the layout and click the Select Layout button to select all of the controls. Click the Control Padding button and then click the None link. 3. You may have noticed that the blank rows at the top of the layout are not as high as the other rows. To assure uniformity select all the cells and in the Format tab of the Property Sheet set the Height property to .22. The Description control will need to be larger however. Select only the Description control and resize it to be about 3 lines high. 4. Select the entire layout and drag it to the top-left corner of the form. 5. Go to the Layout View and resize the controls as necessary so the data fits properly. 6. Go back to the Design View and shrink the form size to remove all unused space. Finalizing the Form Details In the final step you ll lock down the fields that should not be editable and finalize the form implementation. 1. Select the following controls and in the Data tab of the Property Sheet set the Locked property to Yes. This will prevent the user from modifying these fields because the only fields that will be editable are Condition and Comment. Title Author Status CategoryDescription MediaDescription LoanPeriod Description 176 CHAPTER 7 CREATING A CHECKOUT FORM 2. Save the form and enter the name InventoryltemLookup when prompted. 3. You will need an unbound control that you can use to indicate if a record was read successful. Add a TextBox control to the form .