Retrieves or sets whether the document is read-only.
bReadOnly = document.ReadOnly;
document.ReadOnly = bReadOnly;
bReadOnly = document.ReadOnly
document.ReadOnly = bReadOnly
if( document.ReadOnly ) alert( "The document is read-only" );
else alert( "The document is not read-only." );
If document.ReadOnly Then
alert( "The document is read-only" )
Else
alert( "The document is not read-only." )
End If
Supported on EmEditor Professional Version 4.00 or later.