TAdvMemo: limit cursor position

I need to limit the cursor position in TAdvMemo, so it cannot be placed where there is no text content. How can this be accomplished? I would have thought there would be a property setting.


I have the same need.  I suggest the default be that when one clicks in the horizontal middle of a empty control, the cursor should stay at the leftmost and not cause spaces to be inserted and move the cursor to that position.  When this happens, the user is stuck with the task of having to remove those spaces.  Have I missed an option to not do this?

For common products like Word, this does not happen.  The curosr should be placed at the end of the line, and if there are no characters there, then at the beginning of a line.

Is it the property AdvMemo.AutoExpand = false you're looking for?