property Slider.UserData(Part as PartEnum) as Variant
Associates an extra data to a part of the control.

TypeDescription
Part as PartEnum A PartEnum expression that specifies the part to assign an extra data.
Variant A Variant expression that indicates the extra data being assigned to a part of the control.
use the UserData property to assign an extra data to a part of the control. Use the Caption property to specify the part's caption. Use the Background property to change the visual appearance of any part of the control. Use the VisiblePart or VisibleParts property to specify visible parts in the control. Use the EnablePart or EnableParts property to specify which parts are enabled or disabled. Use the OwnerDrawPart property to specify an owner draw part.