property Button.ShiftPushedState as Long
Specifies the number of pixels by which the control's text (and image, if any) is shifted when the control is in the pushed (clicked) state

TypeDescription
Long A long expression that indicates the number of pixels by which the control's text (and image, if any) is shifted when the control is in the pushed (clicked) state
By default, the property is set to 2, meaning the control’s text is shifted by two pixels when the user clicks it. This feature provides a simple yet effective way to enhance the control's visual feedback, making it clearer to the user that the button (or control) has been clicked. The Caption property defines the text displayed on the button. The Image property defines the picture shown on the button.

Usage: