VFP ExecScript() similarly to Servoy
Posted: Sat Sep 17, 2011 10:47 am
Hello forum,
In the VFP there is the instruction EXECSCRIPT () gives it in the Servoy somewhat similarly to it.
For example:
I have a Tableview and if I click an entry and the following code are implemented.
Tablefield “bcode” has the following code:
(var myWindow = application.createWindow (" Supplier" , JSWindow.MODAL_DIALOG); forms.Supplier.controller.sh ow (myWindow);)
My function
function onFocusGained (event) {
// TODO car generated method stub
Var xbcode = ""
application.output (form.Favorit_Menue.bcode)
xbcode = form.Favorit_Menue.bcode
EXECSCRIPT (xbcode) ?????
return true
}
Greeting
Matthias
In the VFP there is the instruction EXECSCRIPT () gives it in the Servoy somewhat similarly to it.
For example:
I have a Tableview and if I click an entry and the following code are implemented.
Tablefield “bcode” has the following code:
(var myWindow = application.createWindow (" Supplier" , JSWindow.MODAL_DIALOG); forms.Supplier.controller.sh ow (myWindow);)
My function
function onFocusGained (event) {
// TODO car generated method stub
Var xbcode = ""
application.output (form.Favorit_Menue.bcode)
xbcode = form.Favorit_Menue.bcode
EXECSCRIPT (xbcode) ?????
return true
}
Greeting
Matthias