PROGRAMMING GUIDE
Unit 06 Software Design and Development
SUNDERLAND COLLEGE
Eliot Hunter
, Eliot Hunter (ID: 16002495) Assignment B Unit 06 Software Design and Development
Programming Guide
Triggers
A trigger is a feature that can’t be executed or called and they are event driven specialized. An
example of a trigger is inside a contact fields form, if the user has left one of the text boxes empty, it
could display a message or turn a colour or it could both, here is an example:
Trigger Function
Trigger functions are something that choose which event handler that needs to be run for the event
has occurred. Every single object has its own set range of trigger functions. However, most of the
objects only need one trigger function for each possible event which will most likely occur . An
example of a trigger function is if the user wants to move between forms of a program and the
program requires them to press a button which allows them to do so.
Event Handlers
An event handler is a method or a function that will contain program statements and in turn these
are executed in response to an event happening. They are typically software routines that will
process actions. An example is mouse movements or keyboard strokes. An example of using an event
handler is when you want to print off a receipt form for a customer but you want to hide the print
button.
Toolboxes & Control and Properties
A toolbox is something that allows the programmer to be able to use drag n drop features saving
time and effort. A toolbox will contain all the things you would need to be able to create a form in
event driven programming such as picture boxes, textboxes, buttons, and labels etc. Common
controls are inside the toolbox and they get the name “common” since many forms that are made
will use quite a lot of them, this is where you would find the labels, buttons etc. Properties is what
you would use to change the name of your labels and buttons etc. It makes the process of knowing
what has been put into the form and what hasn’t. Another feature of using properties is to change
the name of the labels, buttons and text boxes so that it is easier for someone else to understand. A
typical toolbox will look like this, this screenshot is taken from Microsoft Visual Basic 2013:
1|Page
Unit 06 Software Design and Development
SUNDERLAND COLLEGE
Eliot Hunter
, Eliot Hunter (ID: 16002495) Assignment B Unit 06 Software Design and Development
Programming Guide
Triggers
A trigger is a feature that can’t be executed or called and they are event driven specialized. An
example of a trigger is inside a contact fields form, if the user has left one of the text boxes empty, it
could display a message or turn a colour or it could both, here is an example:
Trigger Function
Trigger functions are something that choose which event handler that needs to be run for the event
has occurred. Every single object has its own set range of trigger functions. However, most of the
objects only need one trigger function for each possible event which will most likely occur . An
example of a trigger function is if the user wants to move between forms of a program and the
program requires them to press a button which allows them to do so.
Event Handlers
An event handler is a method or a function that will contain program statements and in turn these
are executed in response to an event happening. They are typically software routines that will
process actions. An example is mouse movements or keyboard strokes. An example of using an event
handler is when you want to print off a receipt form for a customer but you want to hide the print
button.
Toolboxes & Control and Properties
A toolbox is something that allows the programmer to be able to use drag n drop features saving
time and effort. A toolbox will contain all the things you would need to be able to create a form in
event driven programming such as picture boxes, textboxes, buttons, and labels etc. Common
controls are inside the toolbox and they get the name “common” since many forms that are made
will use quite a lot of them, this is where you would find the labels, buttons etc. Properties is what
you would use to change the name of your labels and buttons etc. It makes the process of knowing
what has been put into the form and what hasn’t. Another feature of using properties is to change
the name of the labels, buttons and text boxes so that it is easier for someone else to understand. A
typical toolbox will look like this, this screenshot is taken from Microsoft Visual Basic 2013:
1|Page