TMemo max width

前端 未结 1 1018
闹比i
闹比i 2021-01-20 10:10

Is there any way to make TMemo display text longer than 1024 into 1 line?
Take a look this simple code:

procedure TForm1.Button2Click(Sender: TObject);
v         


        
相关标签:
1条回答
  • 2021-01-20 10:50

    A TMemo is a wrapper for a native multi line edit control and is subject to the limitations it has. From INFO: Size Limits for a Multiline Edit Control:

    A multiline edit control is also subject to the following limitations:

    • The maximum number of characters in a single line is 1024.
    • The maximum width of a line is 30,000 pixels.
    • The maximum number of lines is approximately 16,350.
    0 讨论(0)
提交回复
热议问题