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/fAllgyBox.pas

    r456 r830  
    55uses
    66  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
    7   Dialogs, fRptBox, StdCtrls, ExtCtrls, ComCtrls, fARTAllgy, ORFn;
     7  Dialogs, fRptBox, StdCtrls, ExtCtrls, ComCtrls, fARTAllgy, ORFn,
     8  VA508AccessibilityManager;
    89
    910type
     
    8081      BoundsRect := Rect;
    8182      ResizeAnchoredFormToFont(Result);
     83
     84      //CQ6889 - force Print & Close buttons to bottom right of form regardless of selected font size
     85      cmdClose.Left := (pnlButton.Left+pnlButton.Width)-cmdClose.Width;
     86      cmdPrint.Left := (cmdClose.Left-cmdPrint.Width) - 1;
     87      //end CQ6889
     88
     89      Constraints.MinWidth := cmdAdd.Width + cmdEdit.Width + cmdInError.Width + cmdPrint.Width + cmdClose.Width + 20;
     90      Constraints.MinHeight := 2*pnlButton.Height + memReport.Height;
     91      cmdAdd.Left := 1;
     92      cmdEdit.Left := (cmdAdd.Left + cmdAdd.Width) + 1;
     93      cmdInError.Left := (cmdEdit.Left + cmdEdit.Width) + 1;
     94
    8295      SetLength(BtnLeft, k);
    8396      for j := 0 to k - 1 do
    8497        BtnLeft[j] := pnlButton.Width - BtnArray[j].Width - BtnRight[j];
    85       memReport.Lines.Assign(ReportText);
     98      QuickCopy(ReportText, memReport);
    8699      for i := 1 to Length(ReportTitle) do if ReportTitle[i] = #9 then ReportTitle[i] := ' ';
    87100      Caption := ReportTitle;
     
    158171begin
    159172  memReport.Clear;
    160   memReport.Lines.Assign(DetailAllergy(FAllergyIEN));
     173  QuickCopy(DetailAllergy(FAllergyIEN), memReport);
    161174end;
    162175
Note: See TracChangeset for help on using the changeset viewer.