Changeset 90 for trunk/UCore.pas
- Timestamp:
- Feb 2, 2022, 2:55:58 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UCore.pas
r82 r90 17 17 AAbout: TAction; 18 18 AboutDialog1: TAboutDialog; 19 ATest: TAction; 19 20 AFind: TAction; 20 21 AFileSplit: TAction; … … 57 58 procedure AHomePageExecute(Sender: TObject); 58 59 procedure ASettingsExecute(Sender: TObject); 60 procedure ATestExecute(Sender: TObject); 59 61 procedure DataModuleCreate(Sender: TObject); 60 62 procedure DataModuleDestroy(Sender: TObject); … … 102 104 uses 103 105 UFormMain, UFormSettings, UContact, UFormContacts, UFormFindDuplicity, 104 UFormGenerate, UFormError, UFormFind ;106 UFormGenerate, UFormError, UFormFind, UFormTest; 105 107 106 108 resourcestring … … 264 266 end; 265 267 268 procedure TCore.ATestExecute(Sender: TObject); 269 begin 270 with TFormTest.Create(nil) do 271 try 272 ShowModal; 273 finally 274 Free; 275 end; 276 end; 277 266 278 procedure TCore.AFileNewExecute(Sender: TObject); 267 279 begin … … 512 524 AFindDuplicate.Enabled := Assigned(DataFile); 513 525 AGenerate.Enabled := Assigned(DataFile); 526 {$IFOPT D+} 527 ATest.Enabled := True; 528 {$ENDIF} 529 {$IFOPT D-} 530 ATest.Enabled := False; 531 {$ENDIF} 532 ATest.Visible := ATest.Enabled; 514 533 end; 515 534
Note:
See TracChangeset
for help on using the changeset viewer.