Ignore:
Timestamp:
Jul 7, 2010, 1:44:28 PM (14 years ago)
Author:
Kevin Toppenberg
Message:

Sortable grids, fixed hint-bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/branches/GUI-config/SubfilesU.pas

    r542 r828  
    3030  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
    3131  StrUtils, MainU,
    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;
     
    296296
    297297 
    298   procedure TSubfileForm.PostChanges(Grid : TStringGrid; IENS : string; SilentMode : boolean);
     298  procedure TSubfileForm.PostChanges(Grid : TSortStringGrid; IENS : string; SilentMode : boolean);
    299299 
    300300    function NewIENS(oldIENS : string; PostResults : TStringList) : string;
     
    340340  end;
    341341
    342   procedure TSubfileForm.CompileChanges(Grid : TStringGrid; CurrentUser,Changes : TStringList);
     342  procedure TSubfileForm.CompileChanges(Grid : TSortStringGrid; CurrentUser,Changes : TStringList);
    343343  //Output format:
    344344  // FileNum^IENS^FieldNum^FieldName^newValue^oldValue
Note: See TracChangeset for help on using the changeset viewer.