hmischel@diligentsystems.com
2017-08-10, 17:49
Hi,
I thought this would be pretty simple, but I am missing something.
I created a file called javascriptfuntions.js.
In that file, I copied the example from the road map.
function page1_myDialog()
var cont = createObject("myContainer", "container");
cont.backcolor = "white";
cont.addObject("myTextBox", "textbox");
return cont;
In the console - I tried to loadlibrary('javascriptfunctions.js') - but it threw a parse error.
So I added the curly brackets around the javascript function as you would normally do, but still no luck.
Is there a different way I should be doing this?
Thanks
Herb
I thought this would be pretty simple, but I am missing something.
I created a file called javascriptfuntions.js.
In that file, I copied the example from the road map.
function page1_myDialog()
var cont = createObject("myContainer", "container");
cont.backcolor = "white";
cont.addObject("myTextBox", "textbox");
return cont;
In the console - I tried to loadlibrary('javascriptfunctions.js') - but it threw a parse error.
So I added the curly brackets around the javascript function as you would normally do, but still no luck.
Is there a different way I should be doing this?
Thanks
Herb