EControl Syntax Editor SDK
TSyntTextSource.ReadOnly Property

Determines whether the user can change the text of the all syntax memo controls linked to the text source.

property ReadOnly: Boolean;

To restrict the edit control to all linked syntax memos, set the ReadOnly property to True. Set ReadOnly to False to allow the contents of the syntax memos to be edited. 


Setting ReadOnly to True ensures that the text is not altered, while still allowing the user to select text. The selected text can then be manipulated by the application, or copied to the Clipboard.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!