Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.12.05;
Скачать: CL | DM;

Вниз

Межстроковое расстояние RichEdit   Найти похожие ветки 

 
Dbrf   (2002-11-15 14:14) [0]

Каким образом в компоненте RichEdit можно изменить заданное по умолчанию расстояние между строками?


 
Prooksius ©   (2002-11-15 14:40) [1]

1. Пользуйся RxRichEdit
2. Попробуй выделить все и отформатировать параграф. Примерно так:
RxRichEdit.Paragraph.LineSpacingRule
RxRichEdit.Paragraph.LineSpacing

из доки по RichEdit:
dyLineSpacing
Specifies the spacing between lines. For a description of how this value is interpreted, see the bLineSpacingRule member.

bLineSpacingRule
Specifies the type of line spacing. This member can be one of the following values. Value Meaning
0 Single spacing. The dyLineSpacing member is ignored.
1 One and a half spacing. The dyLineSpacing member is ignored.
2 Double spacing. The dyLineSpacing member is ignored.
3 The dyLineSpacing member specifies the spacing, in twips, from one line to the next. However, if dyLineSpacing specifies a value that is less than single spacing, the control displays single-spaced text.
4 The dyLineSpacing member specifies the spacing, in twips, from one line to the next. The control uses the exact spacing specified, even if dyLineSpacing specifies a value that is less than single spacing.
5 The value of dyLineSpacing / 20 is the spacing, in lines, from one line to the next. Thus, setting dyLineSpacing to 20 produces single-spaced text, 40 is double-spaced, 60 is triple-spaced, and so on.



 
Dbrf   (2002-11-18 08:04) [2]

Прошу прощения за неграмотность, но я никак не могу найти этот RxRichEdit, он, наверное, в более поздней версии, чем пятая?



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

Текущий архив: 2002.12.05;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.013 c
3-14466
Sword-Fish
2002-11-19 00:27
2002.12.05
Работа с PickList


7-14831
Извращенец2
2002-10-04 07:37
2002.12.05
Путь установки Windows


14-14732
Anar
2002-11-13 17:25
2002.12.05
Объясните почему в С++ так...


6-14704
Itap
2002-10-08 11:11
2002.12.05
Отправка файла по почте


3-14464
Kurt
2002-11-18 18:05
2002.12.05
Не подскажите а можно ли передовать 2 папраметра из главной