Таки хелп рулит...
Вот у Мемо есть такой чудесный метод, кторый заменяе выделенные символы на массив символов, который ты в параметре передаешь...
Цитата:
SetSelTextBuf method (TCustomEdit)
Delphi syntax:
procedure SetSelTextBuf(Buffer: PChar);
Description
Use SetSelTextBuf to replace the current selection by the contents of the null-terminated string pointed to by Buffer. If no text is selected, the contents of Buffer are inserted at the cursor. SetSelTextBuf does the same thing as setting the SelText property, except that it takes a pointer to a char type rather than a string.
|
__________________
В нашей стране настаивать на кореньях, черной смородине, лимонных корках - гораздо эффективнее, чем на правах
|