BUDDY

Identifies a spin control's buddy input field control. A value of NULL-HANDLE indicates that the spin control has no associated buddy.

Note that spin controls with either the "Left align (l)" or "Right alight (r)" STYLE have implicitly-created buddy controls which cannot be changed. Hence an update to this attribute in this case is not allowed. Otherwise an update to this attribute is allowed only if the specified buddy has the same PARENT as the spin control.

If the control has the "Set buddy (s)" STYLE, the contents of the new buddy (if any) are automatically updated to reflect the current spin control POSITION when this attribute is set.

Applies to Spin control.
Data Type HANDLE
Default Value NULL-HANDLE
Possible Values NULL-HANDLE / handle of sibling input field control.