dialog_set_popuplist_cancel_on_selection()

Specify whether the popup list dialog is cancelled when an item is selected.

Synopsis:

#include <bps/dialog.h>
 
BPS_API int dialog_set_popuplist_cancel_on_selection(dialog_instance_t dialog,
                                                     bool cancel_on_selection)

Since:

BlackBerry 10.2.0

Arguments:

dialog

The dialog to update.

cancel_on_selection

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.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

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.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus