Tuesday, December 11, 2007

How to add handler to your button

How to add handler to your button

Step 1

To add an event to your button so that it will be able to response to it when a mouse is click, just double click on your button.

Step 2

By default, it’s event is set to Click as show in the diagram below. But user can also change its event by selecting the proper Event for your button. But we will use the Click command here.

It is here that you should code what or how should your program behave to a clicking event.

No comments: