EdSetReadOnlyΒΆ

EdSetReadOnly sets the read-only flag.

bool = EdSetReadOnly(hEdit, bReadOnly)

Return Value

If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).

Parameters

hEdit

Identifies the editor.

bReadOnly

A Boolean that sets whether the document is read-only. Possible values are: TRUE (1): Makes the document read-only in UniPlot. FALSE (0): Makes the document read/write in UniPlot, but does not change its status on disk. For example, if the document is read-only on disk, it remains read-only.

id-169806