Gets or sets the user-definable data for the current object.
Type
Description
Variant
A Variant value that specifies the control's user data.
Use the UserData property to associate an extra data to
your button. The UserData is not used in any way by the control. Use the Caption
property to assign a caption to the button. Use the Image
property to assign an icon, picture to your button.