Click or drag to resize
EnableFileCommand Property

Sets or retrieves a value that indicates the enable state of file menu.

Syntax

[ JavaScript ]

document.getElementById("AceoffixCtrl1").EnableFileCommand(Item)

Remarks

Boolean type.

The property is read/write.

Possible Values of "Item" parameter.

  • 0: File -> New
  • 1: File -> Open
  • 2: File -> Close
  • 3: File -> Save
  • 4: File -> Save As
  • 5: File -> Print
  • 6: File -> Page Setup
  • 7: File -> Properties
  • 8: File -> Print Preview
Example
JavaScript
document.getElementById("AceoffixCtrl1").EnableFileCommand(4) = false; // Disable "Save As" menu.
See Also