tag:blogger.com,1999:blog-1702873441071265539.post1855478626849127619..comments2023-05-29T19:02:20.570+03:00Comments on Блог GunSmoker-а: Ответ на задачку №10GunSmokerhttp://www.blogger.com/profile/15611696588191431330noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-1702873441071265539.post-9086733419763291022011-09-30T18:32:52.455+04:002011-09-30T18:32:52.455+04:00Возможно:
Limits of Edit Controls
Edit controls ...<a href="http://msdn.microsoft.com/en-us/library/ms997530.aspx" rel="nofollow">Возможно</a>:<br /><br /><i><b>Limits of Edit Controls</b><br /><br /><b>Edit controls were designed to enter, display, and edit small amounts of text</b>. They were not meant to be the basis for large-scale text editors. Edit controls in Microsoft® Windows™ have the following limits:<br /><br />Single-line edit controls are limited to a maximum of 32K (32,767 bytes) of text and, of course, to a single line. By default, single-line edit controls are limited to 30,000 characters. An application can change this limit to a maximum of 32,767 characters with the EM_LIMITTEXT message.<br /><br />Multiple-line edit controls are limited to a maximum of 64K (65,535 bytes) of text. Whether a multiple-line edit control is actually able to approach this limit is based on how the edit control uses memory. Techniques to control the way edit controls use memory are described in the next section, "Edit Controls and Memory." <br /><br />Multiple-line edit controls are also limited to the following:<br />- characters per line of text<br />- lines of text<br />- pixels per line of text</i>GunSmokerhttps://www.blogger.com/profile/15611696588191431330noreply@blogger.comtag:blogger.com,1999:blog-1702873441071265539.post-66682404093704962752011-09-30T18:11:39.109+04:002011-09-30T18:11:39.109+04:00Update: по неизвестным мне причинам, даже если Wor...Update: по неизвестным мне причинам, даже если WordWrap = False, TMemo режет строки длиннее 1024 символов, перенося остаток на новую строку.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1702873441071265539.post-3158106237197496482011-07-01T23:17:25.342+04:002011-07-01T23:17:25.342+04:00Вот блин, а я думал TStringList.
Буду знать.Вот блин, а я думал TStringList.<br />Буду знать.vsmihaylovskyhttps://www.blogger.com/profile/11617061006157954135noreply@blogger.com