about format and formattail?
Posted: Sat Nov 22, 2008 7:42 am
I have a large rich text , when change a url information,if use format function ,result is right ,but it's so slowly , formattail is ok ,but formattail just change length of old url Information
eg:
i think change " http://www.aaa.com " to " http://www.bbbb.com" use:
....
EdtText.GetItem(ItemNo).StyleNo := 1;//no hyperlink
EdtText.SetItemTextW(ItemNo, StrInfor);
EdtText.Formattail;
it's result is
http://www.bbb.com and hyperlink is exists ,tks!
eg:
i think change " http://www.aaa.com " to " http://www.bbbb.com" use:
....
EdtText.GetItem(ItemNo).StyleNo := 1;//no hyperlink
EdtText.SetItemTextW(ItemNo, StrInfor);
EdtText.Formattail;
it's result is
http://www.bbb.com and hyperlink is exists ,tks!