AREN'T    YOU    GETTING    EXCITED????!!!!????


OBJECTIVE

In some applications, it is necessary to display text in rows and columnns. You can accomplish such tasks by display the text line-by-line; calculating the requried locations where the text should be displayed; and using the Print method to display the text. However, Visual Basic includes the grid control, a control that enables you to create tables easily. In this lesson, you learn to master the use of grid control.

GRID CONTROL

1.  The height of the cells may be changed only during run-time.

    (a) True
    (b) False

2.  The width of the cells may be changed only during run-time.

    (a) True
    (b) False

3.  Which property should you set to change the height of a cell?
   
    (a) RowHeight
    (b) ColWidth
    (c) Can't change the height of a cell

4.  Which property should you set to change the width of a cell?

    (a) RowHeight
    (b) ColWidth
    (c) Can't change the width of a cell

5.  What code should be written to remove a picture from a cell?



TEST YOUR PROGRESS

ANSWER KEY:

BACK TO HOMEPAGE

VB ONLINE: