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

Fixed crash on non-login

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/branches/tmg-cprs/CPRS-Chart/TMG_Extra/SubfilesU.pas

    r793 r819  
    3030  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
    3131  StrUtils, fPtDemoEdit,
    32   Dialogs, StdCtrls, ExtCtrls, Grids, ComCtrls, Buttons;
     32  Dialogs, StdCtrls, ExtCtrls, Grids, ComCtrls, Buttons, SortStringGrid;
    3333
    3434type
     
    3636    Panel1: TPanel;
    3737    TreeView: TTreeView;
    38     SubFileGrid: TStringGrid;
     38    SubFileGrid: TSortStringGrid;
    3939    Splitter1: TSplitter;
    4040    SubFileLabel: TLabel;
     
    7575    GridInfo : TGridInfo;
    7676    ModifiedForm : boolean;  //Used to see if current record is unsaved
    77     procedure CompileChanges(Grid : TStringGrid; CurrentUser,Changes : TStringList);
    78     procedure PostChanges(Grid : TStringGrid; IENS : string; SilentMode : boolean = false);
     77    procedure CompileChanges(Grid : TSortStringGrid; CurrentUser,Changes : TStringList);
     78    procedure PostChanges(Grid : TSortStringGrid; IENS : string; SilentMode : boolean = false);
    7979    procedure GetAllSubRecords(SubFileNum, ParentIENS : string; SubRecsList : TStringList);
    8080    procedure InitTreeView;
     
    297297
    298298 
    299   procedure TSubfileForm.PostChanges(Grid : TStringGrid; IENS : string; SilentMode : boolean);
     299  procedure TSubfileForm.PostChanges(Grid : TSortStringGrid; IENS : string; SilentMode : boolean);
    300300 
    301301    function NewIENS(oldIENS : string; PostResults : TStringList) : string;
     
    341341  end;
    342342
    343   procedure TSubfileForm.CompileChanges(Grid : TStringGrid; CurrentUser,Changes : TStringList);
     343  procedure TSubfileForm.CompileChanges(Grid : TSortStringGrid; CurrentUser,Changes : TStringList);
    344344  //Output format:
    345345  // FileNum^IENS^FieldNum^FieldName^newValue^oldValue
Note: See TracChangeset for help on using the changeset viewer.