Ignore:
Timestamp:
Jul 6, 2008, 8:20:14 PM (16 years ago)
Author:
Kevin Toppenberg
Message:

Uploading from OR_30_258

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/branches/foia-cprs/CPRS-Chart/fNotePrt.pas

    r459 r460  
    202202  if Piece(cboDevice.ItemID, ';', 1) = 'WIN' then
    203203    begin
    204     FReportText.Lines.Assign(GetFormattedNote(FNote, ChartCopy));
    205     PrintWindowsReport(FReportText, PAGE_BREAK, Self.Caption, ErrMsg);
    206     if Length(ErrMsg) > 0 then InfoBox(ErrMsg, TX_ERR_CAP, MB_OK);
     204    if dlgWinPrinter.Execute then
     205       begin
     206       FReportText.Lines.Assign(GetFormattedNote(FNote, ChartCopy));
     207       PrintWindowsReport(FReportText, PAGE_BREAK, Self.Caption, ErrMsg);
     208       if Length(ErrMsg) > 0 then InfoBox(ErrMsg, TX_ERR_CAP, MB_OK);
     209       end
    207210    end
    208211  else
Note: See TracChangeset for help on using the changeset viewer.