- tristaanogreEsteemed Contributor
Or, perhaps an even better solution than using "default values"... what if the "Run Current Routine" option, if it detects that the function/procedure has parameters, prompt to fill them in?
- AlexKarasChampion Level 3
Robert,
May be, though I am not sure. This will definitely work for simple data types like string or integer, but most probably will not work for, say, objects that might be set in code.
Something like that:
function ButtonFind(oRoot)
{
if ("undefined" == typeof(oRoot))
oRoot = PageGetCurrent();
...
var oButton = oRoot.FindChild(...);
...
Related Content
- 2 years ago
- 12 years ago
- 2 years ago