Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

TextView.SetReadOnly

Sets read only flag.

Component Version macOS Windows Linux Server iOS SDK
TextView 9.2 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "TextView.SetReadOnly"; TextView { ; Value } )   More

Parameters

Parameter Description Example Flags
TextView The reference number to the text view. $textview
Value The new setting.
Pass 1 to enable read only mode or 0 to enable editing.
Default is 0.
1 Optional

Result

Returns OK or error.

Description

Sets read only flag.
If text view is read only, the user can't edit the content.

See also

This function checks for a license.

Created 15th April 2019, last changed 17th July 2022


TextView.SetRTF - TextView.SetRulerVisible