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

Печать   Найти похожие ветки 

← →
Ivolg ©   (2004-04-15 14:48) [0]

Помогите! Как можно текст из Мемо вивисти на принтер для печати!
Или Как можно напичатать текст который находится в МЕМО


← →
Фикус ©   (2004-04-15 14:54) [1]

Хелп читать!

This example uses a button and a memo on a form. When the user clicks the button, the content of the memo is printed, with a 200-pixel border around the page. To run this example successfully, you must add the Printers unit to the uses clause of your unit.

procedure TForm1.Button1Click(Sender: TObject);

begin
 with Printer do
 begin
   BeginDoc;
   Canvas.TextRect(Rect(200,200,PageWidth-200,PageHeight-200),
                   200, 200, Memo1.Lines.Text);
   EndDoc;
 end;

end;


← →
Ivolg ©   (2004-04-15 15:12) [2]

Фикус

Спасибо!А как можно сменить параметры печати!


← →
Тимохов ©   (2004-04-15 15:14) [3]


> Ivolg ©   (15.04.04 15:12) [2]

Какие параметры вас интересуют!!!


← →
Anatoly Podgoretsky ©   (2004-04-15 15:38) [4]

WriteLn(F, Memo1.Lines[I])
или
WriteLn(F, Memo1.Lines.Text)

второй вариант не проверял



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

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



Память: 0.45 MB
Время: 0.021 c
8-1075610443
Bes
2004-02-01 07:40
2004.05.02
Паралельное получение сигнала с микрофона и линейного входа...


11-1066893645
Kerk
2003-10-23 11:20
2004.05.02
VCL -> KOL


1-1082122419
ss300
2004-04-16 17:33
2004.05.02
Ctrl+ a


3-1081251462
Fishka
2004-04-06 15:37
2004.05.02
Excel и SUMIF


9-1069199412
Dmitrich
2003-11-19 02:50
2004.05.02
DelphiX- Спрайты




   Наверх