Log in

View Full Version : Deleting from a memo


Tsholofelo
Apr 20, 2007, 02:59 AM
Hello!

Please help

How do I delete a line that is selected from a memo without knowing what the user will select, or even the index of that line selected. Let me give you my own concept but it is not working:

Memo->Lines->SelectedItem->Delete(); //does not work

Note no usage of textfields, just selecting an item and deleting it staright from the memo.

Thank you
Tsholofelo