Changeset 191 for branches/generator/Forms/UFormMain.pas
- Timestamp:
- May 17, 2019, 12:02:45 AM (6 years ago)
- Location:
- branches/generator/Forms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/generator/Forms
- Property svn:ignore
-
old new 1 *.lrj2 1 *.lrt
-
- Property svn:ignore
-
branches/generator/Forms/UFormMain.pas
r167 r191 16 16 TFormMain = class(TForm) 17 17 ABuildCompiler: TAction; 18 ASettings: TAction; 18 19 ALookupTables: TAction; 19 20 AToolbarVisible: TAction; … … 38 39 MenuItem12: TMenuItem; 39 40 MenuItem13: TMenuItem; 41 MenuItem14: TMenuItem; 42 MenuItem15: TMenuItem; 40 43 MenuItem2: TMenuItem; 41 44 MenuItem3: TMenuItem; … … 65 68 procedure ABuildCompilerExecute(Sender: TObject); 66 69 procedure ALookupTablesExecute(Sender: TObject); 70 procedure ASettingsExecute(Sender: TObject); 67 71 procedure AToolbarVisibleExecute(Sender: TObject); 68 72 procedure AExitExecute(Sender: TObject); … … 100 104 101 105 uses 102 UFormRules, UCore, UFormGrammer, UBuilder, UFormLookupTables ;106 UFormRules, UCore, UFormGrammer, UBuilder, UFormLookupTables, UFormSettings; 103 107 104 108 resourcestring … … 322 326 end; 323 327 328 procedure TFormMain.ASettingsExecute(Sender: TObject); 329 begin 330 FormSettings := TFormSettings.Create(nil); 331 FormSettings.Load; 332 if FormSettings.ShowModal = mrOk then begin 333 FormSettings.Save; 334 end; 335 FreeAndNil(FormSettings); 336 end; 337 324 338 procedure TFormMain.AToolbarVisibleExecute(Sender: TObject); 325 339 begin
Note:
See TracChangeset
for help on using the changeset viewer.