dialog_set_popuplist_selected_indices()

Set the indices of the initially selected items in a popup list dialog.

Synopsis:

#include <bps/dialog.h>
 
BPS_API int dialog_set_popuplist_selected_indices(dialog_instance_t dialog,
                                                  int selected_indices[],
                                                  int num_items)

Since:

BlackBerry 10.0.0

Arguments:

dialog

The dialog to update.

selected_indices

The indices of the items to be initially selected.

num_items

The number of indices in the selected_indices array.

Library:

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

Description:

The dialog_set_popuplist_selected_indices() function sets the indices of the items in the specified popup list dialog that are selected initially.

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