RichEdit.SelAttributes.Color := TypeAndColor.Color;
RichEdit.Lines.Add(TypeAndColor.StrData + str);
PostMessage(RichEdit.Handle, WM_VSCROLL, SB_BOTTOM, 0);
RichEdit 的ScrollBar自动向下滚动
最新推荐文章于 2022-02-12 21:35:13 发布
RichEdit.SelAttributes.Color := TypeAndColor.Color;
RichEdit.Lines.Add(TypeAndColor.StrData + str);
PostMessage(RichEdit.Handle, WM_VSCROLL, SB_BOTTOM, 0);