Click

<< Click to Display Table of Contents >>

 

Click

Click()

This event occurs when the left mouse button is pressed on a Screen. This event does not occur if that Screen is not visible or if its Enabled property is set to False. Screen visibility depends on three factors: Visible property set to True, parent object visible, and object's Layer property on Screen's layer. Example:

Sub Screen_Click()
  ' Displays a message box when
  ' a user clicks a screen
  MsgBox "You clicked the screen."
End Sub

Was this page useful?