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

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

← →
Галинка ©   (2004-07-01 10:37) [0]

Да вот вроде и весь вопрос...

Милости прошу...


← →
Ega23 ©   (2004-07-01 10:39) [1]

TPrinter.BeginDoc, TPrinter.EndDoc, F1.


← →
Iconka   (2004-07-01 10:40) [2]

To Галинка
Прежде чем задавать вопрос посмотри хотябы дэмки и хелп! Или ты хочешь что бы за тебя это делали другие???  >:-<


← →
Anatoly Podgoretsky ©   (2004-07-01 10:42) [3]

procedure TMainForm.mfPrintClick(Sender: TObject);
var
POutput : TextFile;
Ln   : LongInt;
begin
if PrintDialog.Execute then begin        // if Print Dialog OK
 AssignPrn(POutput);              // assign
 ReWrite(POutput);               // open printer
 Printer.Canvas.Font := EditWnd.Font;     // assign font to printer
 for Ln := 0 to EditWnd.Lines.Count - 1 do begin
  WriteLn(POutput,EditWnd.Lines[Ln]);     // print one line
 end;
 CloseFile(POutput);              // close printer
end
end; // mfPrintClick



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

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



Память: 0.45 MB
Время: 0.027 c
11-1077122347
DDA
2004-02-18 19:39
2004.07.18
Delete folder?


1-1089044505
DenisWW
2004-07-05 20:21
2004.07.18
RichEdit в HTML


6-1084509491
r9000
2004-05-14 08:38
2004.07.18
Помогите, пожалуйста разобраться с trap сообщениями


3-1087345149
Смертник
2004-06-16 04:19
2004.07.18
Помогите пожалуйста с DBGrid.


3-1087464293
kalishenko
2004-06-17 13:24
2004.07.18
Поле типа float фикс. размера (12,2).




   Наверх