Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Потрепаться";
Текущий архив: 2003.08.18;
Скачать: [xml.tar.bz2];

Вниз

Ограничение в 65536 символов в RichEdit   Найти похожие ветки 

 
VID   (2003-08-02 17:02) [0]

ОС win2k.
Как обойти это ограничение ?
просто при вставке текста в RichEdit методом CTRL+V вставляется только 65536 символов, будь то форматированный текст или plain-text.
Можно конечно использовать вариант
RichEdit.Text := ClipBoard.AsText но этот вариант во-первых не поддерживает форматированный текст, а во-вторых... см. во-первых :)


 
Desdechado   (2003-08-02 17:14) [1]

На 98 точно знаю, что Richedit глючит - в него можно добавить больше 64к, но какие-то куски в середине пропадают. Правда, это не через буфер обмена делалось, а из проги.
На 2000 такого не замечал.

У клипборда есть

property Formats[Index: Integer]: Word;

Read Formats to determine what formats encode the information currently on the clipboard. Each format can be accessed by its position in the array.

Usually, when an application copies or cuts something to the clipboard, it places it there in multiple formats. An application can place items of a particular format on the clipboard and retrieve items with a particular format from the clipboard if the format is in the Formats array. To find out if a particular format is available on the clipboard, use the HasFormat method.

When reading information from the clipboard, use the Formats array to choose the best possible encoding for information that can be encoded in several ways.

Before you can write information to the clipboard in a particular format, the format must be registered. To register a new format, use the RegisterClipboardFormat method of TPicture.


может, пригодится


 
VID   (2003-08-02 17:29) [2]

а какой номер имеет Rich Text Format ?


 
Anatoly Podgoretsky   (2003-08-02 17:54) [3]

Указать размер, для этого есть свойство MaxLength


 
VID   (2003-08-02 18:14) [4]

не догнал...


 
Anatoly Podgoretsky   (2003-08-02 18:35) [5]

Медленно и по буквам, если ты хочешь ограничение свыше 65536 символов, то установи это свойство в 65537


 
VID   (2003-08-02 23:07) [6]

всё-таки эстонский язык это сила! :))) Вот теперь догнал.
Спасибо :)


 
Умник   (2003-08-03 07:32) [7]

Удалено модератором



Страницы: 1 вся ветка

Форум: "Потрепаться";
Текущий архив: 2003.08.18;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.45 MB
Время: 0.004 c
14-58500
_Alex_
2003-08-01 15:46
2003.08.18
Мультиязычное приложение


14-58409
Эль
2003-02-14 13:55
2003.08.18
Сапер


14-58437
VID
2003-08-02 17:04
2003.08.18
SeaGate Barracuda ST3120022A


14-58425
zhuk
2003-08-03 04:32
2003.08.18
Компоненты


14-58457
KPY
2003-08-04 08:52
2003.08.18
Сколько надо времени чтобы выучить английский?





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский