Special installation instructions  Known problems

Release Bulletin PocketBuilder™ 2.0

Changed functionality in this version

New objects and controls

This release of PocketBuilder includes several new objects that provide an interface to functionality that is native to the Pocket PC or Smartphone platform. In earlier versions of Pocket PowerBuilder, the following objects and controls were introduced: HPBiometricScanner object, NotificationBubble object, POOM objects, Signature control, SymbolBarcodeScanner object, and Toolbar control, as well as support for the Pocket PC Today screen.

Table 1 lists new objects in the current release of PocketBuilder. For more information, see the chapter on “Working with Native Objects and Controls for the Windows CE Platform” in the User’s Guide, or see the online Help.

Table 1: Native objects for WIndows CE platforms

Object

Description

CallLog and CallLogEntry

Provides the nonvisual interface to the entries in the call log on a Smartphone or PocketPC-Phone Edition platform.

Camera

Provides the nonvisual interface for a PocketBuilder application’s connection to a digital camera device.

DialingDirectory and DialingDirectoryEntry

Provides the nonvisual interface to the entries of phone books on a Smartphone or PocketPC-Phone Edition platform.

GPS, SerialGPS, and related objects

Provides the nonvisual interface to a PocketBuilder application’s connection to a Bluetooth unit global positioning system device.

PhoneCall

Provides a nonvisual interface that allows a PocketBuilder application user to place a voice or data phone call from a Smartphone or Pocket PC-Phone Edition platform.

SMSSession and related objects

Provides the nonvisual interface for a PocketBuilder application’s connection to the SMS messaging system on a Pocket PC or Smartphone device.

SocketBarcodeScanner

Implements all the methods and properties of the BarcodeScanner base class. It dynamically loads Socket support DLLs for Socket’s In-Hand Scan Card scanner devices.

Emulator support

PocketBuilder 2.0 adds UI support for the Smartphone 2003 and Smartphone emulators and retains support for the Pocket PC 2002 and 2003 emulators. Several of these emulators are available in Software Development Kits on the Microsoft Web site.

Changes to the Project painter

The Project painter has been redesigned to accommodate the following new features:

Changes to wizards

Export CE to Desktop The PocketBuilder wizard for exporting targets and converting them to PowerBuilder® targets has an additional Create Unicode Libraries check box that lets you export the target for compatibility with PowerBuilder 10. By default, the Export CE to Desktop wizard converts PocketBuilder targets to PowerBuilder 9 targets.

Import Desktop to CE The wizard for importing PowerBuilder targets and converting them to PocketBuilder targets has also been modified to process Unicode targets from PowerBuilder 10 and ANSI targets from PowerBuilder 9, but these changes are internal to the wizard and are not visible in the user interface.

Template Application wizards The Template Application wizard has been split into separate wizards for creating Pocket PC and Smartphone applications. Each of the new wizards generates windows, menus, and scripts that are specific to the target platform indicated in the wizard name.

New system functions

The following system functions have been added in PocketBuilder 2.0:

New edit control property

The SingleLineEdit, MultiLineEdit, EditMask, DropDownListBox, ListView, and TreeView controls all have an InputEditMode property that you can set on the Other tab of the Properties view for the control in the PocketBuilder IDE. Using the InputEditMode property for edit controls, you can set the SIP type or the edit mode for each edit field in a PocketBuilder 2.0 application that you deploy to a Pocket PC or Smartphone.

You can also use the InputEditMode property for editable DataWindow columns. You assign the InputEditMode property on the Edit tab of the DataWindow painter properties view if you select Edit or EditMask as the Edit style type.

Support for additional PowerScript objects

PocketBuilder 2.0 provides support for PowerScript® objects that were not supported in previous Pocket PowerBuilder releases. These objects are the ContextInformation object, the ContextKeyword object, and the Inet object, which are all children of the Service object.

Functions of the ContextInformation object return the following values:

The InternetResult object is also enabled for the current release.

Default window size

PocketBuilder 2.0 defaults all Main! type windows to full screen size at runtime. The DefaultSize check box for window size at design time has been replaced by a drop-down list. The drop-down list includes the following items:

The sizes displayed next to the selections in the preceding list are in pixels. The Design Size Default value sets the window displayed in the Window painter to the size selected on the Size tab of the Options dialog box. The Unconstrained value lets you set the design-time window size on the Other tab of the Properties view for the current window or by dragging the window handles in the Layout view.

Support for multiple user checkouts from source control

In PocketBuilder 2.0, you can add a setting to the Library section of the PK.INI file that allows you to check out an object from source control that is checked out nonexclusively by another user. To do this, you must add the following instruction to the PK.INI file:

[Library]
SccMultiCheckout=1

After you add this PK.INI setting, PocketBuilder shows a red check mark as part of a compound icon to indicate that an object is checked out to another user in a shared (nonexclusive) mode.





Copyright © 2004. Sybase Inc. All rights reserved. Known problems

View this release bulletin as PDF