Sets or returns the property used to synchronize the UpDown control with its buddy control.
Syntax
object.BuddyProperty [= value]
The BuddyProperty property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
value | A variant value that specifies a property of the control specified by the BuddyControl property. If no value is specified, the default property for the control is used. |
Remarks
If the SyncBuddy property is True, the control will synchronize its Value property with the property specified by the BuddyProperty property.
The BuddyProperty can be set at design time by selecting the property out of a drop down list in the Properties window.
The BuddyControl property must be set before setting the BuddyProperty property, or an error results.