
You can protect ranges of lines against changes.
Use this method to switch the protection on and off. If you try to enter text in a protected line, a warning signal sounds.
|
Microsoft Windows |
HTML |
Java |
|---|---|---|
|
YES |
NO |
YES |
call method textedit->protect_lines
exporting
from_line = from_line
to_line = to_line
protect_mode = protect_mode
enable_editing_protected_text = enable_editing_protected_text
exceptions
error_cntl_call_method = 1
invalid_parameter = 2.
|
Parameter |
Meaning |
Possible Values |
|---|---|---|
|
from_line |
Starting line for the range |
|
|
to_line |
Final line (inclusive) of the range |
|
|
protect_mode |
Switches input protection on or off |
|
|
enable_editing_protected_text |
Editing for protected sections of text |
|