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

как в ReachEdit разукрасить строки, сделать жирным?   Найти похожие ветки 

← →
volph   (2002-06-19 12:15) [0]

как в ReachEdit разукрасить строки? дайте конкретный пример


← →
Игорь Шевченко ©   (2002-06-19 12:26) [1]

Program Files/Borland/Delphi/Demos


← →
DeMoN-777 ©   (2002-06-19 12:26) [2]

Извиняй пример писать некогда, но на водку ;) дать могу:
RichEdit1.SelAttributes+F1


← →
DeMoN-777 ©   (2002-06-19 12:35) [3]

Больше никак не успеваю,

procedure TForm1.Button1Click(Sender: TObject);

begin
with RichEdit1.SelAttributes do
begin
Color := clRed;
Height := Height + 5;
end;
RichEdit1.Lines.Add("This line of text will be red.");
end;

procedure TForm1.Button2Click(Sender: TObject);
begin
RichEdit1.DefAttributes.Color := clBlue;
RichEdit1.DefAttributes.Style := [fsBold, fsItalic];
end;


Удачи.



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

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



Память: 0.45 MB
Время: 0.01 c
3-900
maxim2
2002-06-07 14:51
2002.07.01
DBGrid перекрывает MDichild форму


1-1047
Frags
2002-06-18 13:38
2002.07.01
Где можно найти SpeedButton как в XP?


3-874
Rk0d1
2002-06-06 12:37
2002.07.01
insert...select


7-1225
Schummi
2002-01-13 10:13
2002.07.01
МР3 - в линию???


3-910
VAleksey
2002-06-07 15:51
2002.07.01
TQuery + ТUpdateSQL




   Наверх