A ModeEnum expression that indicates how the button's state is changed when the
user clicks the button.
By default, the control's Mode property is exButton. The State
property is changed by the control depending on the control's Mode property.
Use the Style or Skin
property to change the visual appearance for the button. The control fires the
Click event when user clicks the
button. The control fires also the Click event if the button has the
focus, and the user releases the SPACE key. Use the KeyDown event to avoid
firing the Click event when user presses the SPACE key like in the following
sample:
Private Sub Button1_KeyDown(KeyCode As Integer, Shift As Integer)
KeyCode = 0
End Sub