Home > Language Reference > Classes
Application Class
+ Object
+ Database
+ GenericDB
+ ResourceDB
+ Application
Description
The Application class implements the behaviors necessary for interfacing Palm OS® and your application. This class is not instantiable or cloneable. Its functions are only available by derivation.
All applications written in HB++ must declare a single unique class deriving from the Application class. This is the main class of your project, which. the system automatically creates an instance, accessible via the global App variable. If your project does not contain a class deriving from Application, or it contains more than one, a warning is generated and your program may not work properly.
You can see in the Autograph sample an implementation of the Application class called clsApplication which manages different launch modes.
Members
| Members | Description |
| Alarm | Date and time of the next alarm. |
| AlarmTriggered | Activation of an alarm. |
| CustomLaunch | Custom application launch. |
| DisplayAlarm | Activation of an alarm. |
| ExgAskUser | Data reception request. |
| ExgReceive | Data reception. |
| FindItem | Global search. |
| GotoItem | Display a record. |
| NormalLaunch | Normal application launch. |
| Notify | Notification. |
| PanelCalled | Launch of a preference panel. |
| PhoneEvent | Phone event. |
| Preferences | Access application preferences. |
| PreferenceStrings | Access application preferences as a string. |
| Quit | Closes the application. |
| RegisterExtension | Registers the application for the reception of data. |
| RegisterNotify | Registers a notification request. |
| ReturnFromPanel | Launch after closing a configuration panel. |
| SubCall | Indicates if the application is already running. |
| SyncNotify | Startup after modifying application databases. |
| SystemLock | Event sent to the internal security application to lock the device. |
| SystemReset | Startup after system is reinitialized. |
| Title | Application Title. |
| UnregisterExtensions | Unregisters the application for reception of data. |
| UnregisterNotify | Unregister a notification request. |
| Version | Application version. |
| Inherited from ResourceDB | Description |
| FindResource | Finds a resource in a database. |
| Resource | Accesses a resource in a database. |
| Inherited from GenericDB | Description |
| DeleteRecord | Deletes a record from a database. |
| Open | Opens a database from a DatabaseInfo object. |
| OpenByName | Opens a database from its name. |
| Record | Accesses a record in a database. |
| RecordCount | Number of records in the database. |
| Inherited from Database | Description |
| CategoryName | Set or return a category name. |
| Close | Closes the database. |
| DmOpenRef | Internal database reference. |
| Info | Returns a DatabaseInfo object. |
| OpenCount | Number of times the database was opened. |
| Inherited from Object | Description |
| ClassID | Returns the type identifier corresponding to the actual class of the object. |
| Implements | Determines whether the object implements the features of a given class. |
| Iterate | Event raised to iterate over the elements of a container object. |
| Recipient | Recipient of events sent by the object. |
| Serialize | Event raised to serialize the object content into a stream. |
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | N/A |