Вверх ↑
Ответов: 2059
Рейтинг: 132
#1: 2022-01-20 23:47:01 ЛС | профиль | цитата
Udokanec
Чтобы не было ограничений надо добавить сточку Control.MaxTextSize:=MaxInt;
в код Memo:
.........
Control.OnChange := _OnChange;
if _prop_Ctl3D = 0 then
Control.Style:= Control.Style and not ws_BORDER;
inherited;
Control.Text := _prop_Strings;
Control.SubClassName := 'obj_MemoControl';
Control.MaxTextSize:=MaxInt; // Добавить!
end;
а в RichEdit:
........
Text := _prop_Strings;
// RE_AutoURLDetect := true;
RE_FmtStandard;
RE_FmtAutoColor := true;
RE_Font.FontName := Control.Font.FontName;
RE_Font.Color := Control.Font.Color;
OnRE_URLClick := _OnURLDetect;
Control.MaxTextSize:=MaxInt; // Добавить!
end;
end;
карма: 6

0
Редактировалось 3 раз(а), последний 2022-01-20 23:50:10