Hi,
I'm trying to write a wizard.script file for my company, but I'm having trouble with GetListboxSelection function it keeps returning -1.
The function I have implemented passes the selected list item into the variable boardChoice see below.
"function OnLeave_JennicBoardSelection(forward)
{
if (forward)
{
boardChoice = Wizard.GetListboxSelection(_T("JennicBoardSelection"));
}
return true;"
The implementation of the page is done here;
"//Page to select the board that you are developing on from a list
Wizard.AddGenericSingleChoiceListPage(_T("JennicBoardSelection"), descr, _T("DK1;DK2;NTS;HighPowerDevelopmentKit"), 1);"
Any Ideas, apologies if I posted on the wrong forum.
Regards Jahme