dialog_set_login_username_placeholder()

Set the placeholder text of the username input field.

Synopsis:

#include <bps/dialog.h>
 
BPS_API int dialog_set_login_username_placeholder(dialog_instance_t dialog,
                                                  const char *placeholder)

Since:

BlackBerry 10.0.0

Arguments:

dialog

The dialog to update.

placeholder

The placeholder text to display in the username input field.

Library:

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

Description:

The dialog_set_login_username_placeholder() function sets the text to display when there is no text in the username input field and the field does not have the focus.

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