dialog_set_input_flags()

Specify input flags on the input field.

Synopsis:

#include <bps/dialog.h>
 
BPS_API int dialog_set_input_flags(dialog_instance_t dialog,
                                   int input_flags)

Since:

BlackBerry 10.2.0

Arguments:

dialog

The dialog to update.

input_flags

The input flags to apply. Must be a bitwise-OR of the values of the dialog_input_flags_t enumeration, or DIALOG_INPUT_NONE to turn off all input options.

Library:

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

Description:

The dialog_set_input_flags() function specifies the input options to use on input fields for dialogs. By default input is corrected automatically (DIALOG_INPUT_AUTO_CORRECT) and checked for spelling errors (DIALOG_INPUT_SPELL_CHECK). To turn off all input options use DIALOG_INPUT_NONE. Changing the keyboard layout will disable any input flags.

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