dialog_event_get_selected_index()

Get the index of the selected button from a DIALOG_RESPONSE event.

Synopsis:

#include <bps/dialog.h>
 
BPS_API int dialog_event_get_selected_index(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The DIALOG_RESPONSE event to get the selected button index from.

Library:

libbps

Description:

The dialog_event_get_selected_index() function gets the index of the selected button after a dialog button has been pressed by the user.

Returns:

The selected button index; BPS_FAILURE upon failure.

Last modified: 2013-12-21

comments powered by Disqus