...
NOTE: In Profound UI version 6, fix pack 7.0 and earlier versions, the return value was ignored. If a pui.onPCCommand function was defined, the command would only be processed by the function. For backwards compatibility with this release, any function that does not return a value will be considered to have handled the command.
NOTE: Prior to Profound UI version 6, fix pack 8.0 the pui.onPCCommand function would only work with STRPCCMD from a Genie session. Starting with fix pack 8.0, the runPCCommand() API is also supported.
Example:
Code Block | ||
---|---|---|
| ||
pui.onPCCommand = function(command) { alert("The command string is: " + command); return true; } |
...