Question
Check grids in the document:
Hello everyone!
Friends I need to open a dialog window with a ckekbox, however, it is necessary to check if in the current document it has grids, if it is true, the chekbox has a true validation "cb1.value = true;". Serial possible? Thanks.
dlg = new Window("dialog");
cb1 = dlg.add("checkbox", undefined, undefined, {name: "cb1"});
cb1.text = "Checkbox";
cb1.value = false;
dlg.show();