NotificationBubble objects
Defines a unique ID for a notification bubble. If you do not set the NotificationID property for a NotificationBubble object, the PocketBuilder runtime generates a unique notification ID. This ensures that the value for the notification ID is unique. When you set this property yourself, you run the risk of assigning an ID that is already used by the system.
To add an ID for a notification bubble:
Enter the number you want in the Notification ID text box on the General page of the NotificationBubble object’s Properties view.
The default value is 0. If you do not change the default value, the PocketBuilder runtime generates a unique notification ID.
The NotificationID property takes an unsignedlong. The following example sets the ID for a notification bubble to 555:
nb_myBubble.NotificationID = 555
The following example captures the NotificationID of a NotificationBubble object and assigns it to a local variable.
unsignedlong ll_ID
ll_ID = nb_myBubble.NotificationID
You can also save the ID for later use by assigning it to a global variable.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |