SyncBuddy Property
Description
Sets or returns a value that determines whether the UpDown control synchronizes the Value property with a property in the buddy control.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property SyncBuddy() As Boolean
Remarks
Set to True if the UpDown control synchronizes the Value property with a property of the buddy control, specified by the BuddyProperty property. If no property is specified in the BuddyProperty property, then the default property for the buddy control is used.
Set to False if the UpDown control doesn't synchronize the Value property with a property in the buddy control.
Use the SyncBuddy property to automatically synchronize a property of the buddy control with the Value property of the UpDown control. For example, you can synchronize the Value property of the UpDown control with the Text property of a FlatEdit control. Whenever the Value property changes, it would update the Text property in the FlatEdit control and vice versa. You can also synchronize the Value property of the UpDown control with other properties of a control such as the BackColor, and others.
See Also
- UpDown Control
- Value Property
- BuddyProperty Property
- FlatEdit Object
- Text Property
- BackColor Property
- ForeColor Property
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.