Hi all, I'm using Merlin and need some help, for example in the following script I want to associate the next button with the 'Option 2' to the ListPart (in a second pane) and the next button with the 'Option 1' to the radio button pane group (options 3 and 4, in another second pane). Should I use branches? and callbacks? May anyone show an example how to do it?
| wizard�� |
������
wizard := WizardControl new.
wizard renderer: MerlinMorphicWizardRenderer new.
wizard
������ addPane: ( WizardFirstPane new
������ ������ ������ ������ row: ( RadioButtonsPart�� new
������ ������ ������ ������ ������ ������ inGroupboxNamed: 'Choose Option A';
������ ������ ������ ������ ������ ������ options: { #'Option 1'. #'Option 2' };
������ ������ ������ ������ ������ ������ defaultValue: nil;������ ������ ������
������ ������ ������ ������ ������ ������ yourself )
������ ������ ������ ������ associatedTo: #optionSelected );
������ addPane: ( WizardMiddlePane new
������ ������ ������ ������ ������ row: ( ListPart new
������ ������ ������ ������ ������ ������ ������ initialList: { 1 . 2 . 3 . 4 };
������ ������ ������ ������ ������ ������ ������ yourself ) );
������ addPane: ( WizardFirstPane new
������ ������ ������ ������ row: ( RadioButtonsPart�� new
������ ������ ������ ������ ������ ������ inGroupboxNamed: 'Choose Option B';
������ ������ ������ ������ ������ ������ options: { #'Option 3'. #'Option 4' };
������ ������ ������ ������ ������ ������ defaultValue: nil;������ ������ ������
������ ������ ������ ������ ������ ������ yourself )
������ ������ ������ ������ associatedTo: #optionSelected ).
wizard open.
Cheers,
Hern��n