Skip to main content
dublove
Legend
Nov 18, 2026 4:59 AM UTC
Question

Please seek help for several issues with the dialog box.

I want to align the content of the tab to the left, but using alignChildren: 'left' seems to have failed.


Also, the entire dialog box is always so small, can you set the width and height?


I also want to add a 'data' panel title.
Can a checkbox be added before the data? (This is not necessary)

Thank you very much.

makeDialog();
var pdfPre, getpRange, singlePage, spreadPage;
var singlePage, spreadPage, incDate, incFileName;
function makeDialog() {
var theDialog = app.dialogs.add({ name: "Setting", canCancel: true, minHeight: 600, minWidth: 600, bounds: [100, 100, 800, 400] });
with (theDialog.dialogColumns.add()) {
alignChildren: 'left'
with (borderPanels.add()) {
with (dialogColumns.add()) {
delEmptyPages = checkboxControls.add({ checkedState: true });
delPages = checkboxControls.add({ checkedState: false });
}
with (dialogColumns.add()) {
var date = staticTexts.add({ staticLabel: "Only today's" });
var fileName = staticTexts.add({ staticLabel: "Including all data" });
}
}
}

if (theDialog.show() == true) {

theDialog.destroy();
}
}

 

    1 reply

    dublove
    dubloveAuthor
    Legend
    Nov 18, 2026 7:24 AM UTC

    Surprisingly, it doesn't support sorting by row?
    with (theDialog.dialogRows.add()) {

    }

    ​Hi ​@Marc Autret 

    The method you mentioned doesn't work either.

     

    Translate