Class Notes (996,431)
US (388,438)
BC (3,830)
ISYS (68)
ISYS2157 (17)
James Gips (17)
Lecture 11

ISYS 2157 Lecture 11: Lecture #11 & #12
Premium

3 Pages
23 Views
Fall 2016

Department
Information Systems
Course Code
ISYS2157
Professor
James Gips
Lecture
11

This preview shows page 1. Sign up to view the full 3 pages of the document.
Introduction to Programming
Lecture #11
9.21.16
Event handlers
oButton pressers
oText change
Speeding example
oCheckbox for construction
oInput speed limit
oButton press – event
Comments
Declarations
Inputs
Check inputs for error
Try catch and if statements – check and see if number is
reasonable
Calculations
Display results
Combine
oCheckbox – make false
Then check it in your program
Boolean
Textbox
oWord wrap – true
oMultiline – true
oRead only
oNo need for vertical scroll bars
Not all variable need to be declared at the top of the program
&
oConcatenation – joins two strings together
o+ Also does the same thing for concatenation
Dim S as String
S = “Boston” & “College”
S = S & “Eagles”
Boston College Eagles
Control structures
oHow control of a program/statement is dictated
Event handler
Sequencing
Try catch
IF, THEN, ELSE
Loops
find more resources at oneclass.com
find more resources at oneclass.com

Loved by over 2.2 million students

Over 90% improved by at least one letter grade.

Leah — University of Toronto

OneClass has been such a huge help in my studies at UofT especially since I am a transfer student. OneClass is the study buddy I never had before and definitely gives me the extra push to get from a B to an A!

Leah — University of Toronto
Saarim — University of Michigan

Balancing social life With academics can be difficult, that is why I'm so glad that OneClass is out there where I can find the top notes for all of my classes. Now I can be the all-star student I want to be.

Saarim — University of Michigan
Jenna — University of Wisconsin

As a college student living on a college budget, I love how easy it is to earn gift cards just by submitting my notes.

Jenna — University of Wisconsin
Anne — University of California

OneClass has allowed me to catch up with my most difficult course! #lifesaver

Anne — University of California
Description
Introduction to Programming Lecture #11 9.21.16  Event handlers o Button pressers o Text change  Speeding example o Checkbox for construction o Input speed limit o Button press – event  Comments  Declarations  Inputs  Check inputs for error  Try catch and if statements – check and see if number is reasonable  Calculations  Display results  Combine o Checkbox – make false  Then check it in your program  Boolean  Textbox o Word wrap – true o Multiline – true o Read only o No need for vertical scroll bars  Not all variable need to be declared at the top of the program  & o Concatenation – joins two strings together o + Also does the same thing for concatenation  Dim S as String  S = “Boston” & “College”  S = S & “Eagles”  Boston College Eagles  Control structures o How control of a program/statement is dictated  Event handler  Sequencing  Try catch  IF, THEN, ELSE  Loops  Loops o Allow you to do the same sequence of statements over and over again o vbC
More Less
Unlock Document

Only page 1 are available for preview. Some parts have been intentionally blurred.

Unlock Document
You're Reading a Preview

Unlock to view full version

Unlock Document

You've reached the limit of 4 previews this month

Create an account for unlimited previews.

Already have an account?

Log In


OR

Don't have an account?

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit