Hello,
I want to create a window where we have a possibility of introducing a block of text (multiple lines ...). Closest to the problem component is 'EditText', but when new line (press ENTER) to confirm and close the window. I would like to ask whether there is a textarea component because I found it in help ExtendScript Toolkit. Enclose windows crude example, I have in mind with the component 'EditText':
var dialog = new Window('dialog', 'Alert Box Builder',[100,100,580,345]);
dialog.farbaVizitky = dialog.add('panel', [45,50,435,230], 'Zadaj Adresu');
dialog.farbaVizitky.cervena = dialog.farbaVizitky.add('edittext', [15,15,95,35], 'prve');
dialog.farbaVizitky.modra = dialog.farbaVizitky.add('edittext', [15,50,95,70], 'druhe');
dialog.farbaVizitky.cervena.value = true;
dialog.farbaVizitky.buildBtn = dialog.farbaVizitky.add('button', [105,80,185,105],
'OK', {name:'ok'});
dialog.show();
Thank you