Specify whether the popup list dialog is cancelled when an item is selected.
#include <bps/dialog.h>
BPS_API int dialog_set_popuplist_cancel_on_selection(dialog_instance_t dialog,
bool cancel_on_selection)
BlackBerry 10.2.0
The dialog to update.
If true, the popup list dialog is cancelled when an item is selected; if false, the popup list dialog is not cancelled when an item is selected.
The dialog_set_popuplist_cancel_on_selection() function specifies whether the popup list dialog is cancelled as soon as the user makes a selection from the list. By default the dialog is not cancelled when an item is selected.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.