Hi,
I would like to use sc_redir(…,"_modal") and specify dimension of modal window
how to do that ??
I found this but doesn’t work : sc_redir(control_app1,"","_modal","",“400”,“220”);
Somebody know all parameters for sc_redir ???
Thanks
Nac
Hi,
I would like to use sc_redir(…,"_modal") and specify dimension of modal window
how to do that ??
I found this but doesn’t work : sc_redir(control_app1,"","_modal","",“400”,“220”);
Somebody know all parameters for sc_redir ???
Thanks
Nac
sc_redir(control_app1,glo_var1 = {somefield};glo_var2 = ‘Something’,‘modal’,400,220);
If you don’t need parameters, it’s just
sc_redir(control_app1,‘modal’,400,220);
That’s it.
jsb
Hi jsb
I try it but didn’t work !!!
sc_redir(control_app1,‘modal’,400,220) ----> doesn’t open control_app1 but execute it automatically ??
sc_redir(control_app1,’_modal’,400,220) ----> open control_app1 in a new tab
I call the control_app from a blank_app, maybe it’s why it doesn’t work
Thanks
I call the control_app from a blank_app, maybe it’s why it doesn’t work
No, should work. There must be something else in your code.
jsb
i have a similar problem. in my case redirection with parameters works and opens a modal but the value for the width does not affect the result. The modal window does not change dimension in width.
i am using this:
if ({field} == ‘value’)
{
sc_redir(app_to_call, idpaziente={idpaziente}, ‘modal’,1200,600);
}
only the value 600 affects in height the result. The width remian always the same
Thanks