Changeset 830 for cprs/trunk/CPRS-Chart/fDupPts.pas
- Timestamp:
- Jul 7, 2010, 4:51:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/trunk/CPRS-Chart/fDupPts.pas
r456 r830 5 5 uses 6 6 Windows, Messages, SysUtils, Variants, Classes, Graphics, 7 Controls, Forms, Dialogs, StdCtrls, ORCtrls, ExtCtrls, OrFn; 7 Controls, Forms, Dialogs, StdCtrls, ORCtrls, ExtCtrls, OrFn, fBase508Form, 8 VA508AccessibilityManager; 8 9 9 10 type 10 TfrmDupPts = class(T Form)11 TfrmDupPts = class(TfrmBase508Form) 11 12 pnlDupPts: TPanel; 12 13 btnOK: TButton; … … 50 51 fPtSel.DupDFN := 'Cancel'; // Pre-set as default. 51 52 theDups := tStringList.create; 52 theDups.assign(fPtSel.PtStrs);53 lboSelPt.items.assign(theDups);53 FastAssign(fPtSel.PtStrs, theDups); 54 FastAssign(theDups, lboSelPt.Items); 54 55 ResizeAnchoredFormToFont(self); 55 56 end; … … 72 73 Shift: TShiftState); 73 74 begin 74 75 // Check for "Esc" keypress: 76 if (key = 27) then // ESC key. 77 btnCancel.click; 78 75 inherited; 76 if (key = VK_ESCAPE) then 77 btnCancel.click; 79 78 end; 80 79
Note:
See TracChangeset
for help on using the changeset viewer.