Go BackPowerBuilder 6: Event Programming

Synopsis
PowerBuilder 6: Event Programming shows how to respond to events in an application and use variables with PowerScript. The course covers datatypes, scope, and structures. In addition, the course discusses decision structures and looping structures used for writing script for applications.

Audience
This course is for programmers who want to learn how to write code to respond to events in a PowerBuilder application.

Time
6 hours

Product Code: P6BC05
After completing PowerBuilder 6: Event Programming, the user should be able to:
 
Program applications to respond to events
Use variables in scripts
Declare new variables
Use operators
Use arrays in script
Build PowerScript statements
Use the script painter

Responding to Events
 
Understanding events
Events and the PowerBuilder Script painter
Creating user-defined Events

Scripting with Variables
 
Discussing the PowerScript language
Using variables

Encapsulation, Dot Notation, and Structures
 
Variable naming conventions
Encapsulation
Using objects and controls
Using structures

Array, Class, and Reference Variables
 
Arrays
Class or reference variables

Using Operators
 
Discussing the operators
Precedence and parentheses

PowerScript Statements
 
Using PowerBuilder commands
Using decision structures
Using iteration (looping) structures
Using built-in functions
Using context-sensitive help

Using the Script Painter
 
Using editing tools in the Script painter
Adding statements and functions
Using the Object Browser

This course is distributed with:
 
Exercises that allow users to practice in PowerBuilder 6.
A file containing the text of the exercises
Simulations that allow users to practice course skills, even if they don't have access to PowerBuilder 6.
A PowerBuilder 6 glossary


 

Go Back