03-14-2011 11:49 AM
Hi,
Can I prevent the "Changes Made" popup from displaying when the user presses the physical back button on a blackberry device ?
Thanks
Solved! Go to Solution.
03-14-2011 12:00 PM
Yes, you can - override onSavePrompt() method of your MainScreen. Read more about it in:
03-14-2011 12:48 PM
And please use the search facility on this forum. This question has been asked a number of times before.
04-11-2011 04:54 AM - edited 04-11-2011 05:07 AM
public void setDirty(boolean dirty)
Cleans or dirties all controlled fields.
This method invokes Manager.setDirty(boolean) on this screen's
delegate manager to clean (or dirty) all this screen's controlled fields.
this does not really explain the dirty concept (does this mean that contents have been changed by users, and will be restored) ?
04-11-2011 07:17 AM
rzr wrote:setDirty
this does not really explain the dirty concept (does this mean that contents have been changed by users, and will be restored) ?
No, it only means that fields marked dirty either programmatically (field.setDirty(true)) or due to user's input can be marked clean (not requiring saving) with field.setDirty(false). Field's content does not change.