NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: MikeR on September 06, 2011, 01:24:56 AM

Title: Pass Variables from Menus
Post by: MikeR on September 06, 2011, 01:24:56 AM
I want to call a procedure as popup from different menu selections, that’s easy enough, but how do I pass diffent information or values to it ?

Title: Re: Pass Variables from Menus
Post by: Bruce on September 06, 2011, 05:45:23 AM
Hi Mike,

There's a "parameters" option as one of the options for the menu item.
Just under the "Procedure" option.

These are formatted as
'something=bob&someone=fred&whatever=true'

then in the receiving procedure, use p_web.GetValue to read them - as in
p_web.GetValue('whatever')

or more usefully, move them to the session queue using StoreValue - as in
p_web.StoreValue('whatever')


Cheers
Bruce