Within a form, you can have a variety of different controls. You use them to display data from tables, queries, and other data sources such as ADO recordsets. Every control in Access derives from the Control object.
The Control object has quite a few properties, which are described in the following table.
|Application||Application object||Returns the currently active Application object.|
|BottomPadding||Integer||Specifies the amount of space between a control and its bottom gridline.|
|Column||Variant||Refers to a specific column in a combo box or listbox.|
|Controls||Controls collection||Refers to the collection of all the controls on the form.|
|Form||Form object||Refers to the current form object.|
|GridlineColor||Long||Specifies the color for control gridlines in a stacked or tabular layout.|
|GridlineStyleBottom||Byte||Specifies the style for the bottom gridline for a control.|
|GridlineStyleLeft||Byte||Specifies the style for the left gridline for a control.|
|GridlineStyleRight||Byte||Specifies the style for the right gridline for a control.|
|GridlineStyleTop||Byte||Specifies the style for the top gridline for a control.|
|GridlineWidthBottom||Byte||Specifies the width of the bottom gridline for a control.|
|GridlineWidthLeft||Byte||Specifies the width of the left gridline for a control.|
|GridlineWidthRight||Byte||Specifies the width of the right gridline for a control.|
|GridlineWidthTop||Byte||Specifies the width of the top gridline for a control.|