Im making a form that has three "fields", two text boxes (AVKON_DATA_QUERY) and a checkbox. The thing is how to deal with checkbox. What do i add to the resource file? (see below), and what are the methods that i should override.
RESOURCE DIALOG r_dialog_auth
{
flags = EGeneralQueryFlags;
buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtMultilineQuery;
id = EMultilineFirstLine;
control = AVKON_DATA_QUERY
{
layout = EMultiDataFirstEdwin;
label = "Username";
control = EDWIN
{
flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
width = 25;
lines = 1;
maxlength = 20;
};
};
},
DLG_LINE
{
type = EAknCtMultilineQuery;
id = EMultilineSecondLine;
control = AVKON_DATA_QUERY
{
layout = EMultiDataSecondSecEd;
label = "Password";
control = SECRETED
{
num_letters = 20;
};
};
};
}
The symbian documentation/SDK Help doesn't do much of a help 😞
Thanks in Advance! 😊