dialog_set_popuplist_allow_deselect()

Specify whether users can deselect items in a popup list dialog.

Synopsis:

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

Since:

BlackBerry 10.2.0

Arguments:

dialog

The dialog to update.

allow_deselect

If true, users can deselect items in the popup list dialog; if false, users cannot deselect items in the popup list dialog.

Library:

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

Description:

The dialog_set_popuplist_allow_deselect() function specifies whether users can deselect items in the specified popup list dialog. This only applies on multi-select lists. By default users can deselect items.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.