Вниз
Скачать: CL | DM;

Текст по ширине   Найти похожие ветки 

← →
ореол ©   (2007-11-02 21:23) [0]

Доброго времени суток господа!!!
Как в Memo или RichEdit расположить текст по ширине? Заранее благодарен!!!


← →
Lacmus ©   (2007-11-03 09:12) [1]

Для RichEdit



uses
 RichEdit;

const
 EM_SETTYPOGRAPHYOPTIONS = WM_USER + 202;
 TO_ADVANCEDTYPOGRAPHY  = 1;

procedure TForm83.Button1Click(Sender: TObject);
begin
 RichEdit1.Width := 300;
 RichEdit1.Text := "The EM_SETTYPOGRAPHYOPTIONS message sets the current state of the typography options of a rich edit control.";
 SendMessage(RichEdit1.Handle, EM_SETTYPOGRAPHYOPTIONS, TO_ADVANCEDTYPOGRAPHY, TO_ADVANCEDTYPOGRAPHY);
 RichEdit1.Paragraph.Alignment := TAlignment(3)
end;




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

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.016 c
11-1178463952
Ned
2007-05-06 19:05
2007.11.25
Мультиудаление в ListBox


6-1174635896
gavryuha
2007-03-23 10:44
2007.11.25
Перезагрузить TWebBrowser


15-1193082456
vasIZmax
2007-10-22 23:47
2007.11.25
TotalCommander 7.0 — трабла с озвучкой


2-1193741998
Quart
2007-10-30 13:59
2007.11.25
Ячейка DBGrid


15-1192716641
Delphi User
2007-10-18 18:10
2007.11.25
Каким фаерволом вы пользуетесь ? Outpost слишком тяжелый.




   Наверх