Application object
Specifies an application to control the display of a custom PocketBuilder Today item. You must use the full device path to the display application.
Typically, you would use the application where you set the custom Today item as the item’s display application, but this is not required. The display application should not have a visual user interface. However, it can be used to define updated text and formatting for the custom Today item.
A display application is especially useful if you want to change the custom item display based on the time elapsed, or on a counter for events, such as the number of updates to a database. Adding a display application adds to the memory burden of a device, since the PocketBuilder VM remains loaded in memory at all times (or until the custom Today item is disabled or removed).
To select a display application for a Today item:
Type the name of the display application in the Display App text box on the Today Item page of the Application object’s Properties view.
The TodayDisplayApp property takes a string. The following example sets the display application for the custom Today item associated with the SyncDisplay application:
SyncDisplay.TodayDisplayApp="\Program Files\timer.exe"
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |