Ignore:
Timestamp:
Nov 27, 2017, 9:08:54 AM (7 years ago)
Author:
chronos
Message:
  • Added: Common and TemplateGenerics packages.
  • Added: Remember main and rules form dimensions.
Location:
branches/generator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/generator

    • Property svn:ignore set to
      generator.exe
      generator.lps
      lib
  • branches/generator/Forms/UFormRules.pas

    r112 r114  
    3131    procedure AModifyExecute(Sender: TObject);
    3232    procedure ARemoveExecute(Sender: TObject);
     33    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    3334    procedure FormShow(Sender: TObject);
    3435    procedure ListView1Data(Sender: TObject; Item: TListItem);
     
    5455
    5556uses
    56   UFormRule;
     57  UFormRule, UCore;
    5758
    5859{ TFormRules }
     
    6061procedure TFormRules.FormShow(Sender: TObject);
    6162begin
     63  Core.PersistentForm1.Load(Self);
    6264  ReloadList;
    6365  UpdateInterface;
     
    98100    Rules.Remove(TRule(Item.Data));
    99101  ReloadList;
     102end;
     103
     104procedure TFormRules.FormClose(Sender: TObject; var CloseAction: TCloseAction);
     105begin
     106  Core.PersistentForm1.Save(Self);
    100107end;
    101108
Note: See TracChangeset for help on using the changeset viewer.