Tiese,
Below is my code.
final Composite result1 = factory.createFlatFormComposite(parent);
for(int i=1;i<10;i++)
{
Composite result = factory.createFlatFormComposite(result1);
FormData data;
checkBox = factory.createButton(result,"Test", SWT.CHECK);
checkBox.setEnabled(true);
checkBox.setText("Open");
checkBox = factory.createButton(result,"Test", SWT.CHECK);
checkBox.setEnabled(true);
checkBox.setText("UnAssigned");
…….
….
comboControl = factory.createCCombo(result,SWT.BORDER_SOLID);
comboControl.setEnabled(true);
data = new FormData();
data.top = new FormAttachment(result,10);
comboControl.setLayoutData(data);
}
IS the above code holds good for my requirement? But still I am not getting my required output.
Can you please tell what needs to be given for "previous parent"?
Thanks