browser class : CanExecute(bool) setter

Description

Sets a value that indicates whether the new script is executable.

Syntax

instance.CanExecute = value;

Assigned value

ClassDescription
boolWhether the new script is executable.

Return value

None.

Sample code

1:

browser b = new browser(); // Main-browser

2:

b.CanExecute = false; // The script tile will not be shown.

Notes

It is a flag indicating whether the new script can execute.

Assigns true if you want to execute. Otherwise, assigns false.

The display of the script tile depends on the state of the flag.

The script tile is the colored area on the right side of the browser.

If the script tile is not displayed, you neither execute a new script nor select the script file using the shortcut key.

Links for reference

None.

Copyright © Cooker All rights reserved.