Control Members (Access)
The Control object represents a control on a form, report, or section, within another control, or attached to another control.
Methods
Name |
Description |
---|---|
You can use the Dropdown method to force the list in the specified combo box to drop down. |
|
Moves the specified object to the coordinates specified by the argument values. |
|
The Requery method updates the data underlying a specified control that's on the active form by requerying the source of data for the control. |
|
The SetFocus method moves the focus to the specified form, the specified control on the active form, or the specified field on the active datasheet. |
|
You can use the SizeToFit method to size a control so it fits the text or image that it contains. |
|
You can use the Undo method to reset a control or form when its value has been changed. |
Properties
Name |
Description |
---|---|
You can use the Application property to access the active Microsoft Access Application object and its related properties. Read-only Application object. |
|
Gets or sets the amount of space (in inches) between the control and its bottom gridline. Read/write Integer. |
|
You can use the Column property to refer to a specific column, or column and row combination, in a multiple-column combo box or list box. Read-only Variant. |
|
Returns the Controls collection of a form, subform, report or section. Read-only Controls. |
|
You can use the Form property to refer to a form or to refer to the form associated with a subformcontrol. Read-only Form. |
|
Gets or sets the color of the gridline for the specified control. Read/write Long. |
|
Gets or sets the bottom gridline style of the specified control. Read/write Byte. |
|
Gets or sets the width of the bottom gridline for the specified control. Read/write Byte. |
|
Gets or sets the right gridline style of the specified control. Read/write Byte. |
|
Gets or sets the top gridline style of the specified control. Read/write Byte. |
|
Gets or sets the width of the bottom gridline for the specified control. Read/write Byte. |
|
Gets or sets the width of the left gridline for the specified control. Read/write Byte. |
|
Gets or sets the width of the right gridline for the specified control. Read/write Byte. |
|
Gets or sets the width of the top gridline for the specified control. Read/write Byte. |
|
Gets or sets an AcHorizontalAnchor constant that indicates how the control is anchored horizontally within its layout. Read/write. |
|
You can use the Hyperlink property to return a reference to a Hyperlink object. You can use the Hyperlink property to access the properties and methods of a control's hyperlink. Read-only. |
|
The ItemData property returns the data in the bound column for the specified row in a combo box or list box. Read-only Variant. |
|
You can use the ItemsSelected property to return a read-only reference to the hidden ItemsSelected collection. This hidden collection can be used to access data in the selected rows of a multiselect list box control. |
|
Returns the type of layout for the specified control. Read-only AcLayoutType. |
|
Returns the unique identifier for the layout that contains the specified control. Read-only Long. |
|
Gets or sets the amount of space (in inches) between the control and its left gridline. Read/write Integer. |
|
You can use the Name property to determine the string expression that identifies the name of an object. Read-only String. |
|
You can use the Object property in Visual Basic to return a reference to the ActiveX object that is associated with a linked or embedded OLE object in a control. By using this reference, you can access the properties or invoke the methods of the OLE object. Read-only Object. |
|
You can use the ObjectVerbs property in Visual Basic to determine the list of verbs an OLE object supports. Read-only String. |
|
You can use the OldValue property to determine the unedited value of a bound control. Read-only Variant. |
|
Returns a Pages collection that represents the pages in the specified control that supports tabbed pages (for example, a TabControl object). Read-only. |
|
Returns the parent object for the specified object. Read-only. |
|
Returns a reference to a control's Properties collection object. Read-only. |
|
You can use the Report property to refer to a report or to refer to the report associated with a subreport control. Read-only Report. |
|
Gets or sets the amount of space (in inches) between the control and its right gridline. Read/write Integer. |
|
You can use the Selected property in Visual Basic to determine if an item is selected. Read/write Long. |
|
Returns a SmartTags collection that represents the collection of smart tags that have been added to a control. . |
|
Gets or sets the amount of space (in inches) between the control and its top gridline. Read/write Integer. |
|
Gets or sets an AcVerticalAnchor constant that indicates how the specified control is anchored vertically within its layout. Read/write. |