week 7

Drop Downs and updates

Some times we will want to enable our users to select an option from a drop down box, this could be for something like a size of a drink or the colour of clothing garment.

' Code to select an image file and load it on to the form TeeImage.Image = System.Drawing.Image.FromFile("C:\temp\" + ColourList.SelectedItem + "t.bmp") So if we look at the code above the following actions are happening, the value of the imagebox TeeImage.Image will be set to the location of a file set out in the ( ) the path is selected then the value of the selected option in the drop down box "ColourList.SelectedItem" is pasted in to the path name then the final part is added "t.bmp"


Designs and Designing Tools

We must remember when creating a system the importance of our design documents, these will provide the basis of infomation that will assit the users and also the developer, as in some cases you may only design a system and never create it as a specailist person may do that for you. However they will need as much information as is possible to get the correct naming of tools and the correct setting of properties and attributes.

The use of a storyboard is the first step to a healthy project. This provides the detail to location, size and presentation of the system, this is like the architects plans to a house before it is built. At this stage a desiger could find that a client would like to change the layout as they didnt like the feel of the program, or they could add further elements to it. It is also key to do this stage first as this is more time efficent that creating the application on a conversation as you can simply rub out an element and move it elsewhere in seconds and not have to worry about its links to other elements in the system.

#

Table of Tools

In this area we outline the tools that will be required on the form/ program and the naming of them and if there are any special properties that need to be changed or selected. The best way to present this information is how it has been displayed in your tutorial worksheets todate.

Object Property Value
Label1 Name LblIncrement
text Increment
- - -
Label2 Name LblDecrease
text decrease
#

What is the #
#
5 min's

#

#



EXTENTION

EXTENTION

STRETCH & CHALLENGE


The information covered in this page covers the knowledge and understanding linked to the criterion in the table below.

Links to Assessment Criteria Description
LO1 Understand the features of event driven programming:
Key features: service oriented; time driven; event handlers; trigger functions; events eg mouse, keyboard, HTML object, form, user interface; event loops; flexibility; suitability for graphical interfaces; simplicity of programming; ease of development
LO2 Be able to use the tools and techniques of an event driven language:
Triggers: eg key press, alarm, system event, touch screen event, mouse click
Tools and techniques: eg use of tool boxes and controls, selection, loops, event handlers, triggers, objects and object properties, menus; debugging tools
Variables: declaring variables; scope of variables; constants; data types
Functional Skills English Reading, Writing, Comprhension, Problems Solving, Nouns
Functional Skills Maths Compression,Reduction
British Values None covered in this session.
Equality and Diversity

Last Updated
2018-04-16 13:27:00

Links to Learning Outcomes

Links to Assessment criteria

 


English

0

Maths







How 2's Coverage

0

0

Files that support this week


| | | | |
Week 6
Prev
Week 7
Prev
Week 8
Prev

Next

Next
Webmaster Spelling Notifications