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

Native Development

Reply
Developer
mmd12
Posts: 117
Registered: ‎03-13-2012
My Device: Playbook, Dev Alpha C, Q10, Z10
My Carrier: T-Mobile

Popup list dialog behavior

I was playing with the Popup List Dialog and noticed that a user can deselect a highlighted item and and press one of the buttons I've created (Cancel - Submit) which results in a BPS_FAILURE when using the dialog_event_get_popuplist_selected_indices() function.  Not a big deal since I can then destroy the dialog and move on.

 

However, when I do this it requires the user to go back and try again.

 

Am I doing something wrong?  Perhaps I'm missing something or there is a more elegant way of handling this. 

Please use plain text.
BlackBerry Development Advisor (Retired)
s_rashid
Posts: 127
Registered: ‎02-27-2012
My Device: Bold
My Carrier: Rogers

Re: Popup list dialog behavior

Hello,

 

Few things you could check for are:

* Requesting dialog events.

* After a BPS event comes through, making sure that the event's domain ID matches the domain ID of dialog events (before any specific dialog event functions are invoked on the event).

 

Does this help? If not, would you mind pasting your code (or at least snippets) to show how exactly you are processing your BPS events and specifically BPS dialog events?

 

Cheers.

 

 

Please use plain text.