如何在TRichEdit动态插入字符串,位置在光标(50分)

D

donggu

Unregistered / Unconfirmed
GUEST, unregistred user!
SendMessage(GetFocus, EM_ReplaceSel, 1, LongInt(PChar('字符串')));
 
RichEditBox1.SelText:='aaa';
 
多人接受答案了。
 

Similar threads

D
回复
0
查看
750
DelphiTeacher的专栏
D
D
回复
0
查看
752
DelphiTeacher的专栏
D
D
回复
0
查看
600
DelphiTeacher的专栏
D
D
回复
0
查看
498
DelphiTeacher的专栏
D
顶部