How to get rid of the dialog box save/discard/cancel

I m facing alert dialog save/discard/Cancel when return you to the screen

I put the rest of code where the alert dialog is coming but did not work

protected boolean onSavePrompt() {}

Returns true;

}

Please let me know how to solve this problem

UH... that actually works.

You place this code in your form class?

Try to place a breakpoint in the method to make sure that it is really called by the framework.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • 27 "iMac which GPU?

    Just got my new iMac • 3.2 GHz quad-core Intel Core i5, Turbo Boost up to 3.6 GHz • 8 GB 1867 MHz DDR3 SDRAM - two 4 GB • 512 GB Flash memory • AMD Radeon R9 M390 with 2 GB of video memory • Magic Mouse 2 • Magic Keyboard (British) & user guide (Engl

  • HP ENVY x 360-15-u110dx: reset the wireless adapter

    I have a new HP ENVY x 360-15-u110dx and it is not connected to the internet. I have to constantly reset the wireless adapter. What should I do to fix this?

  • Win 7 update problems

    25/08/10 Windows updates create once more questions for my computer.  My PC updated 8/25, rebooted and hung "Starting Windows".  I was able to restore back a few days but now I'm worried about the installation of these updates.

  • HP Pavilion dv6 - slow start compared to laptop older?

    Hello I recently bought a new Pavilion dv6 but noticed that there a start more slow times compared with my old Toshiba Portege R705-P35. I'm just curious as to why this is since the Portégé has much lower than my flag specs. Thank you TheLongBoarder

  • Unable to connect my application...

    Hi all Yesterday when I tried to connect my application of Cascades... I found that I can not export Release version... Even in eclipse I can't sign bar file is @. But my friend in Italy can do export Release version. I'm not sure it's a local issue,