Advmemo Cursor on Last Line

Is there a way for me to modify how Advmemo handles mouseclicks that are beyond the end of the text on the last line of the memo? For example, enter some text in an advmemo and then click the mouse after the end of the text. The cursor does not snap to the end of the text but rather stays wherever it was clicked. I know that some editors work that way but I would prefer to have this function more like Notepad, Is there a way for me to have the cursor snap to the end of the text?

You can control this with the property AdvMemo.AutoExpand

Great!