Skip to content
Snippets Groups Projects
Commit dbf54f8f authored by Michael Sieber's avatar Michael Sieber
Browse files

neon.COMPONENTSTATE verwendet

parent 79dfece1
No related branches found
No related tags found
No related merge requests found
import("system.neon");
import("system.result");
import("Document_lib");
var openFileState;
if(DocumentUtil.canOpenSelectedDocument())
openFileState = "EDITABLE";
openFileState = neon.COMPONENTSTATE_EDITABLE;
else
openFileState = "INVISIBLE";
openFileState = neon.COMPONENTSTATE_INVISIBLE;
result.string(openFileState);
\ No newline at end of file
import("system.neon");
import("system.result");
import("Document_lib");
var openFileState;
if(DocumentUtil.canOpenSelectedDocument())
openFileState = "EDITABLE";
openFileState = neon.COMPONENTSTATE_EDITABLE;
else
openFileState = "INVISIBLE";
openFileState = neon.COMPONENTSTATE_INVISIBLE;
result.string(openFileState);
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment