NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
From form to form an back
« previous
next »
Print
Pages: [
1
]
Author
Topic: From form to form an back (Read 3402 times)
jari@softmade.fi
Full Member
Posts: 134
From form to form an back
«
on:
June 24, 2015, 09:29:03 AM »
Hello
I have simple browse and form system. Now I want open new form (memory) from form and show there map and some buttons.
How can I close the second form so that at the same time the first form does not close ?
Jari
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: From form to form an back
«
Reply #1 on:
June 24, 2015, 10:26:55 PM »
Hi Jari,
are you using a "popup" approach, where the browse is at the back and the form opens as a "window" on top of that?
and then presumably there is an "Other" button on the form which in turn opens your other form? Also as a popup?
cheers
Bruce
Logged
jari@softmade.fi
Full Member
Posts: 134
Re: From form to form an back
«
Reply #2 on:
June 25, 2015, 02:40:47 AM »
Yes and yes.
I can close second form with x top right button.
However I want to close the from with buttons of mine own.
Is there any code to do that?
Jari
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: From form to form an back
«
Reply #3 on:
June 26, 2015, 06:15:25 AM »
In the server-side code for your "other" button;
p_web.script('ntd.close();')
Cheers
Bruce
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
From form to form an back