Changeset 829 for cprs/trunk/CPRS-Chart/Orders/fOrdersPrint.pas
- Timestamp:
- Jul 7, 2010, 4:31:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/trunk/CPRS-Chart/Orders/fOrdersPrint.pas
r456 r829 5 5 uses 6 6 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 7 StdCtrls, ORCtrls, ORfn, ExtCtrls, rOrders, fFrame; 7 StdCtrls, ORCtrls, ORfn, ExtCtrls, rOrders, fFrame, fBase508Form, 8 VA508AccessibilityManager; 8 9 9 10 type 10 TfrmOrdersPrint = class(T Form)11 TfrmOrdersPrint = class(TfrmBase508Form) 11 12 ckChartCopy: TCheckBox; 12 13 ckLabels: TCheckBox; … … 59 60 NO_WIN_PRINT = False; 60 61 61 procedure SetupOrdersPrint(OrderList: TStringList; var DeviceInfo: string; Nature: Char; SelectAll: Boolean; var PrintIt: Boolean); 62 procedure SetupOrdersPrint(OrderList: TStringList; var DeviceInfo: string; Nature: Char; SelectAll: Boolean; var PrintIt: Boolean; 63 PrintTitle: string = ''; PrintLoc: Integer = 0); 62 64 63 65 implementation … … 68 70 fDeviceSelect, uCore, ORNet, fOrders; 69 71 70 procedure SetupOrdersPrint(OrderList: TStringList; var DeviceInfo: string; Nature: Char; SelectAll: Boolean; var PrintIt: Boolean); 72 procedure SetupOrdersPrint(OrderList: TStringList; var DeviceInfo: string; Nature: Char; SelectAll: Boolean; var PrintIt: Boolean; 73 PrintTitle: string = ''; PrintLoc: Integer = 0); 71 74 {displays device and copy selection form for printing orders, and returns a record of the selections} 72 75 var … … 74 77 begin 75 78 frmOrdersPrint := TfrmOrdersPrint.Create(Application); 79 if PrintTitle <> '' then frmOrdersPrint.Caption := 'Print Orders for ' + PrintTitle; 76 80 try 77 81 frmFrame.CCOWBusy := True; … … 87 91 lblPart2.Text := 'Greyed out items are not available.'; 88 92 end; 89 OrderPrintDeviceInfo(OrderList, PrintParams, Nature );93 OrderPrintDeviceInfo(OrderList, PrintParams, Nature, PrintLoc); 90 94 SetupControls(PrintParams); 91 95 if (PrintParams.AnyPrompts) {or FSelectAll} then ShowModal;
Note:
See TracChangeset
for help on using the changeset viewer.