Changeset 137 for branches/generator/Forms/UFormMain.pas
- Timestamp:
- Dec 27, 2017, 6:05:11 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/generator/Forms/UFormMain.pas
r136 r137 16 16 TFormMain = class(TForm) 17 17 ABuildCompiler: TAction; 18 ALookupTables: TAction; 18 19 AToolbarVisible: TAction; 19 20 AProjectOpenRecent: TAction; … … 38 39 MenuItem13: TMenuItem; 39 40 MenuItem2: TMenuItem; 41 MenuItem3: TMenuItem; 40 42 MenuItemRecent: TMenuItem; 41 43 MenuItemToolbar: TMenuItem; … … 60 62 ToolButton5: TToolButton; 61 63 ToolButton6: TToolButton; 64 ToolButton7: TToolButton; 62 65 procedure ABuildCompilerExecute(Sender: TObject); 66 procedure ALookupTablesExecute(Sender: TObject); 63 67 procedure AToolbarVisibleExecute(Sender: TObject); 64 68 procedure AExitExecute(Sender: TObject); … … 96 100 97 101 uses 98 UFormRules, UCore, UFormGrammer, UBuilder ;102 UFormRules, UCore, UFormGrammer, UBuilder, UFormLookupTables; 99 103 100 104 resourcestring … … 300 304 end; 301 305 306 procedure TFormMain.ALookupTablesExecute(Sender: TObject); 307 var 308 FormLookupTables: TFormLookupTables; 309 begin 310 FormLookupTables := TFormLookupTables.Create(nil); 311 try 312 FormLookupTables.LookupTables := Core.Grammer.LookupTables; 313 if FormLookupTables.ShowModal = mrOk then begin 314 315 end; 316 finally 317 FreeAndNil(FormLookupTables); 318 end; 319 end; 320 302 321 procedure TFormMain.AToolbarVisibleExecute(Sender: TObject); 303 322 begin
Note:
See TracChangeset
for help on using the changeset viewer.