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
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller TopGradedWork. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $3.86. You're not tied to anything after your purchase.