This means you want
to add your code to
the Action event handler,
so select Action
from the Event Handler
list and click OK.
Notice the Navigator
updates to show the
Action event underneath
the GoButton control and the Code Editor displays.
This step solves your first problem of when to know when
the user clicks on the GoButton.