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

Vertical option button list question

2 replies · 1,443 views · Started 22 August 2003

Any idea why
myVertOptionButtonList->SetButtonById(iModelData);
only works if iModelData=0?
and myVertOptionButtonList->LabeledButtonId(); always return 0.
What do I miss here? thanks

Possible you doesn't define 'id' in resource definiition.
See sample:

RESOURCE ARRAY r_myprofile_page1_checkbox
{
items=
{
OPBUT { text="User name"; id=EMyProfileChkboxShowByDefaultUsername;},
OPBUT { text="BT Device name"; id=EMyProfileChkboxShowByDefaultBTDevicename;}
};
}