Welcome!

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

Reply
Developer
shamusschubert
Posts: 117
Registered: ‎10-22-2008
My Device: Not Specified

Save Changes message whenever I exit a screen

I open a simple MainScreen derived screen from a button on another screen.

 

When I hit my BACK button on the phone or on the simulator, I get the 'Changes Made' dialog with Save/Discard/Cancel options.

 

There is SCREEN A (home), click menu to SCREEN B, click menu to SCREEN C.

 

I exit SCREEN C back to SCREEN B okay, but when I want to go back from SCREEN B to SCREEN A, I get that notification.

 

SCREEN C has nothing on it.  It does assign a title from an instance of a custom class though.  I have 2 other 'SCREEN C's' that do not display similar behavior.

 

Hmmm.

 

Thanks.

 

Eclispse 3.4
JDE 5
Bold/Tour/Storm
Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Save Changes message whenever I exit a screen

You should propably override onSavePrompt() or onSave() in your screen, and make it work the way you want it to work.

 

 

 

Please use plain text.