Changeset 28 for trunk/UCore.pas
- Timestamp:
- Oct 5, 2019, 11:29:11 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r21 r28 15 15 TCore = class(TDataModule) 16 16 AAbout: TAction; 17 AHelp: TAction; 17 18 AUndo: TAction; 18 19 ASettings: TAction; … … 26 27 procedure AAboutExecute(Sender: TObject); 27 28 procedure AExitExecute(Sender: TObject); 29 procedure AHelpExecute(Sender: TObject); 28 30 procedure ANewExecute(Sender: TObject); 29 31 procedure ASettingsExecute(Sender: TObject); … … 48 50 49 51 uses 50 UFormMain, UFormSettings, UFormAbout, UFormNew ;52 UFormMain, UFormSettings, UFormAbout, UFormNew, UFormHelp; 51 53 52 54 { TCore } … … 98 100 end; 99 101 102 procedure TCore.AHelpExecute(Sender: TObject); 103 begin 104 FormHelp := TFormHelp.Create(nil); 105 try 106 FormHelp.ShowModal; 107 finally 108 FreeAndNil(FormHelp); 109 end; 110 end; 111 100 112 procedure TCore.ANewExecute(Sender: TObject); 101 113 begin … … 126 138 procedure TCore.UpdateInterface; 127 139 begin 128 AUndo.Enabled := Game.CanUndo; ;140 AUndo.Enabled := Game.CanUndo; 129 141 end; 130 142
Note:
See TracChangeset
for help on using the changeset viewer.