SetShowResultViewer: Difference between revisions
From Catglobe Wiki
More actions
jrfconvert import  |
No edit summary  |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{HelpFiles}} | |||
 | |||
=====setShowResultViewer===== | ===== setShowResultViewer ===== | ||
Enables or disables whether the diagrams created will be shown in the Result viewer-dialog when the script has been executed successfully. | Enables or disables whether the diagrams created will be shown in the Result viewer-dialog when the script has been executed successfully. Â | ||
'''Syntax''' | '''Syntax''' Â | ||
setShowResultViewer(''enabled'') | setShowResultViewer(''enabled'') Â | ||
'''Arguments''' | '''Arguments''' Â | ||
''enabled:'' Is a boolean expression. If true the Result viewer-dialog will be opened when the script is executed successfully. | ''enabled:'' Is a boolean expression. If true the Result viewer-dialog will be opened when the script is executed successfully. Â | ||
'''Return type''' | '''Return type''' Â | ||
empty | empty  | ||
'''Examples''' | '''Examples''' Â | ||
''setShowResultViewer( | ''setShowResultViewer(false);'' Â | ||
'' | ''bool b = getShowResultViewer();'' Â | ||
Version 5.4 | ''if (b) print("Current state of the show result viewer is Enabled.");'' | ||
__NOTOC__ | Â | ||
<!-- imported from file: 4218.htm--> | ''else print("Current state of the show result viewer is Disabled.");'' | ||
 | |||
''//Result: Current state of the show result viewer is Disabled so Tabulation viewer will not be shown.'' | |||
 | |||
''createCrossDiagram({"S1"},{"Q11"});'' | |||
 | |||
'''Availability''' | |||
 | |||
Version 5.4 __NOTOC__ <!-- imported from file: 4218.htm--> Â | |||
 | |||
[[Category:Result_display_method_functions]] | |||
Latest revision as of 10:13, 27 December 2011

setShowResultViewer
Enables or disables whether the diagrams created will be shown in the Result viewer-dialog when the script has been executed successfully.
Syntax
setShowResultViewer(enabled)
Arguments
enabled: Is a boolean expression. If true the Result viewer-dialog will be opened when the script is executed successfully.
Return type
empty
Examples
setShowResultViewer(false);
bool b = getShowResultViewer();
if (b) print("Current state of the show result viewer is Enabled.");
else print("Current state of the show result viewer is Disabled.");
//Result: Current state of the show result viewer is Disabled so Tabulation viewer will not be shown.
createCrossDiagram({"S1"},{"Q11"});
Availability
Version 5.4