Ignore:
Timestamp:
Jul 7, 2010, 4:51:54 PM (14 years ago)
Author:
Kevin Toppenberg
Message:

Upgrading to version 27

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/trunk/CPRS-Chart/fPrintList.pas

    r456 r830  
    55uses
    66 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
    7   Dialogs, fAutoSz, StdCtrls, ORCtrls, fConsult513Prt;
     7  Dialogs, fAutoSz, StdCtrls, ORCtrls, fConsult513Prt, VA508AccessibilityManager;
    88
    99type
     
    6666  x: string;
    6767  tmpList: TStringList;
    68   strObj: TStringList;
     68  //strObj: TStringList;
    6969begin
    7070  HLDPageID := PageID;
     
    8181          begin
    8282            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
    8687          end; {if}
    8788      end; {for}
     
    9798             begin
    9899               x := tmpList[i];
    99                tmpList[i] := (MakeNoteDisplayText(x));
     100               tmpList[i] := Piece(x, U, 1) + U + (MakeNoteDisplayText(x));
    100101             end;
    101102           frmPrintList.lblListName.Caption := 'Select Notes to be printed.';
     
    108109             begin
    109110               x := tmpList[i];
    110                tmpList[i] := (MakeConsultDisplayText(x));
     111               tmpList[i] := Piece(x, U, 1) + U + (MakeConsultDisplayText(x));
    111112             end;
    112113           frmPrintList.lblListName.Caption := 'Select Consults to be printed.';
     
    119120             begin
    120121               x := tmpList[i];
    121                tmpList[i] := (MakeNoteDisplayText(x));
     122               tmpList[i] := Piece(x, U, 1) + U + (MakeNoteDisplayText(x));
    122123             end;
    123124           frmPrintList.lblListName.Caption := 'Select Discharge Summaries to be printed.';
     
    125126      end; //case
    126127
    127     frmPrintList.lbIDParents.Items.Assign(tmpList);
     128    FastAssign(tmpList, frmPrintList.lbIDParents.Items);
    128129    frmPrintList.ShowModal;
    129130    Result := frmPrintList.FParentNode;
Note: See TracChangeset for help on using the changeset viewer.