You can use the Properties property to return a reference to a control's Properties collection object.
Note In Microsoft Access 2000, the Properties property has been replaced by the Properties property (Properties Collection) and the Properties property (AccessObjectProperties Collection). The Properties property is included in this version of Microsoft Access only for compatibility with previous versions.
Setting
controlname.Properties[.method or property]
The Properties property uses the following settings.
Setting | Description |
---|---|
controlname | Required. The name of the control whose Properties collection object you want to reference. |
Properties | Required. When used without specifying a method or property, returns the Properties collection object. |
method or property | A method or property of the Properties collection object. The Item property (collections) is the default property for the Properties collection object. |
The Properties property is available only by using Visual Basic.
Remarks
The Properties collection object is the collection of all the properties related to a control. You can refer to individual members of the collection by using the member object's index or a string expression that is the name of the member object. The first member object in the collection has an index value of 0 and the total number of member objects in the collection is the value of the Properties collection's Count property minus 1.