New Button - fundamental Question

Sorry, but a very basic question. I can create a button on a form, but how do I get it to do something. I cannot find a click property.

It is a command - you will be having a property for that.

Oops. Posted in the wrong forum. Sorry it was a question on GP