Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 108
Registered: ‎08-05-2008
My Device: Not Specified


I have a form with several textboxes.  I fill them out, then press the Back button.  A message box (Save/Discard/Cancel) comes up, even though I didn't code it.  This is fine, but how do I capture what the user selected?
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Save/Discard/Cancel

Review the API docs in the Screen class for onSave() and onSavePrompt().