dialog_set_popuplist_scroll_to_index()

Set the index of the first visible item in a popup list dialog.

Synopsis:

#include <bps/dialog.h>
 
BPS_API int dialog_set_popuplist_scroll_to_index(dialog_instance_t dialog,
                                                 int index)

Since:

BlackBerry 10.0.0

Arguments:

dialog

The dialog to update.

index

The index of the first visible item in the list.

Library:

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

Description:

The dialog_set_popuplist_scroll_to_index() function sets the index of the first visible item in the specified popup list dialog.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.