ilgSetEditLock
ilgSetEditLock(
s_mode
[ w_tab ]
)
=> t
Description
Changes the read-only property for a SKILL IDE editor window.
Arguments
|
S_mode
|
Edit lock mode. Valid values are:
|
|
|
lock: Cannot edit text in the tab.
|
|
|
partialLock: Cannot edit the text manually, but can edit it programmatically with ilgAppendText, ilgCut, and ilgPaste.
|
|
|
unlock: Document is editable.
The mode cannot be set to unlock or partialLock for a read-only file.
|
|
w_tab
|
Window ID of the SKILL IDE editor window. Default is the current tab window
|
Value Returned
|
t
|
The operation was successful.
|
|
nil
|
The operation was unsuccessful.
|
Examples
To lock the SKILL IDE editor window:
ilgSetEditLock('lock)
=> t
Related Topics
SKILL IDE Functions
Return to top