10
Vocabulary in VB So Far

Vocabulary in VB So Far. Assignment: Used to change the value of an object at run time Used to change the value of an object at run time

Embed Size (px)

Citation preview

Page 1: Vocabulary in VB So Far. Assignment: Used to change the value of an object at run time Used to change the value of an object at run time

Vocabulary in VB So Far

Page 2: Vocabulary in VB So Far. Assignment: Used to change the value of an object at run time Used to change the value of an object at run time

Assignment:

Used to change the value of an object at run time

Page 3: Vocabulary in VB So Far. Assignment: Used to change the value of an object at run time Used to change the value of an object at run time

Dot notation:

A period is used to access a property of an object

e.g. lblsample.text= “This text is a sample”

Page 4: Vocabulary in VB So Far. Assignment: Used to change the value of an object at run time Used to change the value of an object at run time

Event-driven Program

Waits for an event to occur before executing any code… then only the code for the current event is executed

Example of an event: A button is pressed

Page 5: Vocabulary in VB So Far. Assignment: Used to change the value of an object at run time Used to change the value of an object at run time

Form Module

Container for program code (also known as code editor window)

Page 6: Vocabulary in VB So Far. Assignment: Used to change the value of an object at run time Used to change the value of an object at run time

IDE

Integrated Development Environment

Includes all tools needed to create a VB application

this is dimmed during Run Time

Page 7: Vocabulary in VB So Far. Assignment: Used to change the value of an object at run time Used to change the value of an object at run time

Property Values

Define appearance, behaviour, position and other attributes

If an ellipsis (…) is displayed, it means that a dialog box is available (click on the ellipsis to get the dialog box)

e.g. font

Page 8: Vocabulary in VB So Far. Assignment: Used to change the value of an object at run time Used to change the value of an object at run time

Project

Contains all the files for the application

Includes the form and its objects and program code

Page 9: Vocabulary in VB So Far. Assignment: Used to change the value of an object at run time Used to change the value of an object at run time

Saving a Project

Ensure the correct folder is selected (go to Browse if not), Type a descriptive name.

Page 10: Vocabulary in VB So Far. Assignment: Used to change the value of an object at run time Used to change the value of an object at run time

Statement

Each line of code is called this