Copy link to clipboard
Copied
Hi Professional's
I'm new to this community and also to extend script toolkit. I've an dhoubt that i don't know how to place the panel, button on the bg image of a dilaog. I have tried the below code but it display seprately
var imagePath = "/F/Jo/images1.jpg";
var w= new Window('dialog');
w.orientation = 'row';
var imageGroup = w.add("group");
imageGroup.orientation = 'column';
var image = imageGroup.add('image', undefined, imagePath);
var panel = w.add('panel', undefined, '');
var text1 = panel.add('statictext', undefined, 'hai');
var button = panel.add('button', undefined, 'Open');
var panel = w.add('panel', undefined, '');
var text1 = panel.add('statictext', undefined, 'hello');
var button = panel.add('button', undefined, 'Close');
w.center();
w.show();
Please do guide me on this..
Thanks,
Jopriya
Have something to add?