Changeset 819 for cprs/branches/tmg-cprs/CPRS-Chart/TMG_Extra/SubfilesU.pas
- Timestamp:
- Jul 2, 2010, 7:54:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cprs/branches/tmg-cprs/CPRS-Chart/TMG_Extra/SubfilesU.pas
r793 r819 30 30 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, 31 31 StrUtils, fPtDemoEdit, 32 Dialogs, StdCtrls, ExtCtrls, Grids, ComCtrls, Buttons ;32 Dialogs, StdCtrls, ExtCtrls, Grids, ComCtrls, Buttons, SortStringGrid; 33 33 34 34 type … … 36 36 Panel1: TPanel; 37 37 TreeView: TTreeView; 38 SubFileGrid: TS tringGrid;38 SubFileGrid: TSortStringGrid; 39 39 Splitter1: TSplitter; 40 40 SubFileLabel: TLabel; … … 75 75 GridInfo : TGridInfo; 76 76 ModifiedForm : boolean; //Used to see if current record is unsaved 77 procedure CompileChanges(Grid : TS tringGrid; CurrentUser,Changes : TStringList);78 procedure PostChanges(Grid : TS tringGrid; IENS : string; SilentMode : boolean = false);77 procedure CompileChanges(Grid : TSortStringGrid; CurrentUser,Changes : TStringList); 78 procedure PostChanges(Grid : TSortStringGrid; IENS : string; SilentMode : boolean = false); 79 79 procedure GetAllSubRecords(SubFileNum, ParentIENS : string; SubRecsList : TStringList); 80 80 procedure InitTreeView; … … 297 297 298 298 299 procedure TSubfileForm.PostChanges(Grid : TS tringGrid; IENS : string; SilentMode : boolean);299 procedure TSubfileForm.PostChanges(Grid : TSortStringGrid; IENS : string; SilentMode : boolean); 300 300 301 301 function NewIENS(oldIENS : string; PostResults : TStringList) : string; … … 341 341 end; 342 342 343 procedure TSubfileForm.CompileChanges(Grid : TS tringGrid; CurrentUser,Changes : TStringList);343 procedure TSubfileForm.CompileChanges(Grid : TSortStringGrid; CurrentUser,Changes : TStringList); 344 344 //Output format: 345 345 // FileNum^IENS^FieldNum^FieldName^newValue^oldValue
Note:
See TracChangeset
for help on using the changeset viewer.