Показать сообщение отдельно
Старый 12.06.2005, 13:04     # 4
/7y3uK
Advanced Member
 
Аватар для /7y3uK
 
Регистрация: 09.03.2004
Адрес: толстозадая Москва
Сообщения: 498

/7y3uK Реально крут(а)/7y3uK Реально крут(а)/7y3uK Реально крут(а)/7y3uK Реально крут(а)
Таки хелп рулит...
Вот у Мемо есть такой чудесный метод, кторый заменяе выделенные символы на массив символов, который ты в параметре передаешь...

Цитата:
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.
__________________
В нашей стране настаивать на кореньях, черной смородине, лимонных корках - гораздо эффективнее, чем на правах
/7y3uK вне форума