Changeset 830 for cprs/trunk/CPRS-Chart/fAllgyBox.pas
- Timestamp:
- Jul 7, 2010, 4:51:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/trunk/CPRS-Chart/fAllgyBox.pas
r456 r830 5 5 uses 6 6 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; 8 9 9 10 type … … 80 81 BoundsRect := Rect; 81 82 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 82 95 SetLength(BtnLeft, k); 83 96 for j := 0 to k - 1 do 84 97 BtnLeft[j] := pnlButton.Width - BtnArray[j].Width - BtnRight[j]; 85 memReport.Lines.Assign(ReportText);98 QuickCopy(ReportText, memReport); 86 99 for i := 1 to Length(ReportTitle) do if ReportTitle[i] = #9 then ReportTitle[i] := ' '; 87 100 Caption := ReportTitle; … … 158 171 begin 159 172 memReport.Clear; 160 memReport.Lines.Assign(DetailAllergy(FAllergyIEN));173 QuickCopy(DetailAllergy(FAllergyIEN), memReport); 161 174 end; 162 175
Note:
See TracChangeset
for help on using the changeset viewer.