Read-only archive of the All About Symbian forum (2001–2013) · About this archive

checkbox

0 replies · 1,186 views · Started 16 June 2003

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! 😊