Dentro de un manejador de evento Aceptar hago uso del siguiente proceso:
var titulo = " *** Año escolar: " + theApp.globalVarToInt(“P_dat/NOM_EJER”);
alert(titulo);
theMainWindow.setWindowTitle( titulo );
Sin embargo sale este error: TypeError: Result of expression ‘theMainWindow.setWindowTitle’ [undefined] is not a function.
Con Alert( titulo ) veo que la cadena es la indicada.