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

D

donggu

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

Similar threads

D
回复
0
查看
746
DelphiTeacher的专栏
D
D
回复
0
查看
748
DelphiTeacher的专栏
D
D
回复
0
查看
595
DelphiTeacher的专栏
D
D
回复
0
查看
495
DelphiTeacher的专栏
D
顶部