EControl Syntax Editor SDK
TCustomSyntaxMemo.CanInsertText Method

Returns True if the text can be inserted at the specified position.

function CanInsertText(Pos: integer): Boolean; virtual;

If ReadOnly is True or style at the position Pos is read-only CanInsertText returns False.

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