S
simon
Hi,
I want to generate an array of checkboxes but this doesn't work. Can
anyone help, please?
int NumBoxes = 4;
CheckboxField[] Checkbox = new CheckboxField[NumBoxes];
Checkbox[0] = new CheckBoxField("One", false);
Checkbox[1] = new CheckBoxField("Two", false);
Checkbox[2] = new CheckBoxField("Three", false);
Checkbox[3] = new CheckBoxField("Four", false);
add(Checkbox);
Thanks, Simon
I want to generate an array of checkboxes but this doesn't work. Can
anyone help, please?
int NumBoxes = 4;
CheckboxField[] Checkbox = new CheckboxField[NumBoxes];
Checkbox[0] = new CheckBoxField("One", false);
Checkbox[1] = new CheckBoxField("Two", false);
Checkbox[2] = new CheckBoxField("Three", false);
Checkbox[3] = new CheckBoxField("Four", false);
add(Checkbox);
Thanks, Simon