BuddyControl Property
Description
Sets or returns the control used as the buddy control.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property BuddyControl() As String
Remarks
The BuddyControl property can be set at design time or at run time. At run time, you can use the BuddyControl property in the Properties window. To set the BuddyControl property at run time, use the following code:
PushButton1.BuddyControl = FlatEdit1
Setting the BuddyControl property to a control that cannot be a buddy, such as the tree control, will cause an error.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.