Changeset 830 for cprs/trunk/CPRS-Chart/fPrintList.pas
- Timestamp:
- Jul 7, 2010, 4:51:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/trunk/CPRS-Chart/fPrintList.pas
r456 r830 5 5 uses 6 6 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 7 Dialogs, fAutoSz, StdCtrls, ORCtrls, fConsult513Prt ;7 Dialogs, fAutoSz, StdCtrls, ORCtrls, fConsult513Prt, VA508AccessibilityManager; 8 8 9 9 type … … 66 66 x: string; 67 67 tmpList: TStringList; 68 strObj: TStringList;68 //strObj: TStringList; 69 69 begin 70 70 HLDPageID := PageID; … … 81 81 begin 82 82 x := TORTreeNode(ATree.Items.Item[i]).Stringdata; 83 strObj := TStringList.Create; 84 strObj.Insert(0,x); 85 tmpList.AddObject(x, strObj) // notes and dc/summs & Consults 83 tmpList.Add(x); 84 //strObj := TStringList.Create; 85 //strObj.Insert(0,x); 86 //tmpList.AddObject(x, strObj) // notes and dc/summs & Consults 86 87 end; {if} 87 88 end; {for} … … 97 98 begin 98 99 x := tmpList[i]; 99 tmpList[i] := (MakeNoteDisplayText(x));100 tmpList[i] := Piece(x, U, 1) + U + (MakeNoteDisplayText(x)); 100 101 end; 101 102 frmPrintList.lblListName.Caption := 'Select Notes to be printed.'; … … 108 109 begin 109 110 x := tmpList[i]; 110 tmpList[i] := (MakeConsultDisplayText(x));111 tmpList[i] := Piece(x, U, 1) + U + (MakeConsultDisplayText(x)); 111 112 end; 112 113 frmPrintList.lblListName.Caption := 'Select Consults to be printed.'; … … 119 120 begin 120 121 x := tmpList[i]; 121 tmpList[i] := (MakeNoteDisplayText(x));122 tmpList[i] := Piece(x, U, 1) + U + (MakeNoteDisplayText(x)); 122 123 end; 123 124 frmPrintList.lblListName.Caption := 'Select Discharge Summaries to be printed.'; … … 125 126 end; //case 126 127 127 frmPrintList.lbIDParents.Items.Assign(tmpList);128 FastAssign(tmpList, frmPrintList.lbIDParents.Items); 128 129 frmPrintList.ShowModal; 129 130 Result := frmPrintList.FParentNode;
Note:
See TracChangeset
for help on using the changeset viewer.