Wednesday, September 30, 2009

Event -Driven Programming





  1. Visual Basic is an event driven programming language. An event has to be triggered for the code to be executed. The most common type of an event is clicking on a button. (Click Button Event)


  2. Most of you should be familiar with the Submit, Calculate, Cancel and the Exit buttons. These buttons are so common on the web that you hardly notice them anymore.


  3. As a programmer, you will be embedding code under these button’s events. For example in a form designed to calculate the average of 4 test scores, the logic written to calculate the average test score will be embedded under the “click” event subroutine of the “submit” button”






No comments:

Post a Comment