NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: John Fligg on December 05, 2011, 06:18:41 AM
-
I cannot seem to get a handle on this one.
I have my menu and want to add an Item to run some code. That code must run conditionally so I assumed I could create a Page with a button on (does not need to be fancy) and then when the button is pressed the code is run or the page closed.
I cannot seem to get started. I can add a menu item of course but sort of going round in circles. Any advice appreciated.
John
-
what must the code return to the browser?
ie what do you want the user to see after they select the menu item?
cheers
bruce
-
Bruce - a window with OK and Cancel basically. Then under the OK button will be the code I wish to run.
Should be really easy but cannot seem to get my head round it.
Thanks
John
-
Have you menu item point to a memory form. Then put whatever buttons you need on the form.
Don
-
don is correct - use a NetWebForm as your procedure, not a NetWebPage.
Set the form to "memory".
you can place code under the "ok" button by putting it in the ValidateUpdate routine.
cheers
Bruce
-
I was thinking the same..
Nettalk is briliant.
Linas
in love with the nettalk.