Making the survey return to the menu

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Forum rules
New release: CSPro 8.0
Post Reply
Bhupender11
Posts: 63
Joined: May 15th, 2018, 1:18 am

Making the survey return to the menu

Post by Bhupender11 »

Dear CSpro team,

How can I make the survey return to the menu when i call another survey from this menu.
When i call another survey from menu app then menu app automatically close.
For next case I start menu app again.
Is there is any option by which menu app remains open when we call another survey from this menu app.
htuser
Posts: 631
Joined: December 19th, 2011, 6:26 pm
Location: Silver Spring Area, MD, USA

Re: Making the survey return to the menu

Post by htuser »

Dear Bhupender11,
It's very simple. You must add OnExit on the pff of each application launched by the menu, this with path to the menu.
On the Pff editor, add On Exit PFF.
You can do it dynamically using filewrite:

Code: Select all

filewrite(outputFile,"[Parameters]");
filewrite(outputFile,"OnExit=.\....menu.pff");
I was talking with the Developer Team to add also OnExit inside Cspro logic
But Greg give us a way to open another application inside logic with Execpff function.
Please see this: http://www.csprousers.org/forum/viewtopic.php?t=2565

Best Regards,
G.VOLNY, a CSProuser from Haiti, since 2004
Bhupender11
Posts: 63
Joined: May 15th, 2018, 1:18 am

Re: Making the survey return to the menu

Post by Bhupender11 »

Thanks htuser it works fine.
Post Reply