[Solved] How to insert a line from MemoList2 to the top of MemoList1


How to insert Line From MemoList2 To Top Lines Of MemoList1

Translate your query literally into Delphi language

if MemoList2.Count > 0 then //check that list contains at least one line
    MemoList1.Insert(0, MemoList2[0]);

solved How to insert a line from MemoList2 to the top of MemoList1