X xp166 Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-30 #1 怎么可以使得Richedit里的文字从下往上显示?从而是新添加的内容总是在第一行? 谢谢了
L linsb Unregistered / Unconfirmed GUEST, unregistred user! 2002-05-30 #2 新添加的内容后同时将其存入另一个Richedit(不可见), 更新: Richedit1.lines.clear; for i:=0 to Richedit2.lines.Count-1 do begin Richedit1.lines.add(Richedit2.lines[Richedit2.lines.Count-1-i]); Richedit1.SetFocus; Richedit1.Perform(WM_VSCROLL, SB_top, 0);
新添加的内容后同时将其存入另一个Richedit(不可见), 更新: Richedit1.lines.clear; for i:=0 to Richedit2.lines.Count-1 do begin Richedit1.lines.add(Richedit2.lines[Richedit2.lines.Count-1-i]); Richedit1.SetFocus; Richedit1.Perform(WM_VSCROLL, SB_top, 0);