About PowerScript targets

PowerScript is a scripting language used by PowerBuilder and PocketBuilder. To create an executable PocketBuilder application, a PowerScript target is required.

The first step in creating a new application or component is to use a target wizard, described in “Creating a target”.

The Application object

Every PowerScript target includes an Application object, which is a discrete object that is saved in a PocketBuilder library (PKL file). When a user runs the application, the scripts you write for events are triggered in the Application object.

After you create a new application, you open the Application object and work in the Application painter to define application-level properties (such as which fonts are used by default for text) and application-level behavior (such as what processing should occur when the application begins and ends).