Hello,
i have the necessity to open a new program from a button in dc_new() mode
i set the flag multiple_tabs_per_program to TRUE in this way I can open a few times the same program in different mode with different foundset
how can i do it?
Hello,
i have the necessity to open a new program from a button in dc_new() mode
i set the flag multiple_tabs_per_program to TRUE in this way I can open a few times the same program in different mode with different foundset
how can i do it?
If you know the layout_id of the layout you want to show, you can call:```
forms[globals.nav.mainFormName].layoutSwitch(null, layout_id);
Another option, if you know the program name, is to call:```
globals.svy_nav_showProgram(program_name);
If you use this last option you have to make sure that the main layout is filled for this program:
[attachment=0]main_layout.png[/attachment]
Thanks. But in this way if i put the first tab in edit mode all my tabs enter in edit mode…it works in this way?
Nothing to do!
I try to call this function from a buton and it works but when i call the function
from the another method it doesn’t work.
Any idea?
So the method is working from a button but not if you call it in a method? Did you pass the event?