sampath
sampath

Reputation: 51

Unable to use back button property in Popup screen in blackberry

In my application , am using popup screen, that implements FieldChangeListener.I used close() method for back button. but its not working.

Can some give sample code without using KeyListener,TrackwheelListener ?

Upvotes: 0

Views: 522

Answers (1)

Swati
Swati

Reputation: 2918

if u want to close the popup screen on back button try this:

    UiApplication.getUiApplication().
popScreen(UiApplication.getUiApplication().getActiveScreen());

Upvotes: 2

Related Questions