Frequently Asked Component Specific Questions

Options

Display all FAQ items

Search FAQ items:


Displaying items 1 to 1 of 1, page 1 of 1

<< previous next >>

TMS Unicode Component Pack
Extend the max. size of text size that can be entered in TntRichEdit

Just like with a regular TRichEdit control, there is a default limitation on the size of text that can be entered in the rich edit control. To make this size larger, following code can be used:
const
  EM_EXLIMITTEXT = $0435;
  TEXTSIZE = 256000;

begin
  SendMessage(TNTRichEdit.Handle, EM_EXLIMITTEXT, 0, TEXTSIZE);
end;
This extends size of the text that can be entered to 256000 characters